summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 95b6dd2)
raw | patch | inline | side by side (parent: 95b6dd2)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Feb 2010 08:19:01 +0000 (08:19 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Feb 2010 08:19:01 +0000 (08:19 +0000) |
Replace occurences of config usage with usage of this->config
because otherwise no logging takes place (this->config is initialized
while $config would need to be imported from the global namespace).
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15642 594d385d-05f5-0310-b6e9-bd551577e9d8
because otherwise no logging takes place (this->config is initialized
while $config would need to be imported from the global namespace).
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15642 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-core/include/class_log.inc | patch | blob | history |
index bbe31517e228cac1741b3768d6782ddf371138fd..4b846e5722e26f1811178f9ba6aac370a5a51eb7 100644 (file)
$entry['changes'] = $changes;
$entry['result'] = $result;
- if(!isset($config) || ( $this->config->get_cfg_value("logging") == "" && empty($entry['user']))){
+ if(!isset($this->config) || ( $this->config->get_cfg_value("logging") == "" && empty($entry['user']))){
$entry['user'] = "unknown";
}
}else{
- if (isset ($config)){
+ if (isset ($this->config)){
if ($this->config->get_cfg_value("logging") == ""){
$this->log_into_syslog($entry);
}else{