Commit 02099a45 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4774 Replaced a few last occurences of log class name

Showing with 2 additions and 2 deletions
+2 -2
......@@ -190,7 +190,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
if (isset($config->data) && $config->get_cfg_value('displayerrors') != 'TRUE') {
/* Write to syslog */
if (class_exists('log') && !preg_match('/No such object/', $errstr)) {
if (class_exists('logging') && !preg_match('/No such object/', $errstr)) {
logging::log('view', 'error', '', array(), "PHP error: $errstr ($errfile, line $errline)");
}
......@@ -199,7 +199,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
}
/* Send all errors to logging class, except "Ldap : No such object" messages*/
if (class_exists('log') && !preg_match('/No such object/', $errstr)) {
if (class_exists('logging') && !preg_match('/No such object/', $errstr)) {
logging::log('debug', 'all', $errfile, array(), 'Type:'.$errno.', Message:'.$errstr.', File:'.$errfile.', Line: '.$errline);
}
......
  • bmortier @bmortier

    mentioned in issue #1514

    By Côme Chilliet on 2017-09-02T15:28:51 (imported from GitLab)

    ·

    mentioned in issue #1514

    By Côme Chilliet on 2017-09-02T15:28:51 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in issue #4774 (closed)

    By bmortier on 2018-10-04T19:26:04 (imported from GitLab)

    ·

    mentioned in issue #4774 (closed)

    By bmortier on 2018-10-04T19:26:04 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment