ldapmanager.class.php (fogproject-1.5.7) | : | ldapmanager.class.php (fogproject-1.5.8) | ||
---|---|---|---|---|
skipping to change at line 147 | skipping to change at line 147 | |||
); | ); | |||
// return self::$DB->query($sql); | // return self::$DB->query($sql); | |||
if (!self::$DB->query($sql)) { | if (!self::$DB->query($sql)) { | |||
return false; | return false; | |||
} else { | } else { | |||
$sql = sprintf( | $sql = sprintf( | |||
"INSERT INTO `%s`" | "INSERT INTO `%s`" | |||
. " (settingKey,settingDesc,settingValue,settingCategory)" | . " (settingKey,settingDesc,settingValue,settingCategory)" | |||
. " VALUES" | . " VALUES" | |||
. " ('FOG_USER_FILTER','Insert the uType codes comma separated. If you want to list all users, empty the textbox', '990,991','Plugin: LDAP')," | . " ('FOG_USER_FILTER','Insert the uType codes comma separated. If you want to list all users, empty the textbox', '990,991','Plugin: LDAP')," | |||
. " ('LDAP_PORTS','Insert the different ports comma separated.', '389,686','Plugin: LDAP')", | . " ('LDAP_PORTS','Insert the different ports comma separated.', '389,636','Plugin: LDAP')", | |||
'globalSettings' | 'globalSettings' | |||
); | ); | |||
return self::$DB->query($sql); | return self::$DB->query($sql); | |||
} | } | |||
} | } | |||
/** | /** | |||
* Uninstalls the plugin | * Uninstalls the plugin | |||
* | * | |||
* @return bool | * @return bool | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |