Problem with advanced_settings plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

I found that in advanced_settings version 1.0, getPref is called with  
the following arguments :

/**
* Main function that loads preferences
*/
function advset_loading_prefs_do() {
     global $username, $data_dir, $auto_expunge,  
$use_special_folder_color,
         $list_special_folders_first, $default_use_priority;

     /* boolean options */
     $auto_expunge = (bool) getPref($username, $data_dir,  
'auto_expunge', $auto_expunge);
     $use_special_folder_color = (bool) getPref($username, $data_dir,  
'use_special_folder_color', $use_special_folder_color);
     $list_special_folders_first = (bool) getPref($username,  
$data_dir, 'list_special_folders_first', $list_special_folders_first);
     $default_use_priority = (bool) getPref($username, $data_dir,  
'default_use_priority', $default_use_priority);
}


According to the definition of getPref :

function getPref($data_dir, $username, $string, $default = '')

$data_dir and $username should be transposed.


--
Pascal




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux