diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc
index f186bf912a499a6ae5f029c8362f8e1dcb801d4b..40f37b0628acca88f431cc89042a7e16b31cdcf2 100644 (file)
var $cn = "";
var $parent = "";
- function servRepositorySetup ($config, $dn= NULL,$data = false)
+ function servRepositorySetup (&$config, $dn= NULL,$data = false)
{
plugin::plugin ($config, $dn);
if($data != false){
function GetHookElements()
{
$ret = array();
- $cmd= search_config($this->config->data['TABS'], "servrepository", "REPOSITORY_HOOK");
+ $cmd = $this->config->search("servrepository", "REPOSITORY_HOOK",array('tabs'));
if(!empty($cmd)){
$res = shell_exec($cmd);
$res2 = trim($res);