SysLog.SysLog lib import.

pull/63/head
noud 2012-08-22 14:05:39 +02:00
parent 3ff180e898
commit cf40a908d4
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ class UsersController extends AppController {
$dbh = null;
// write to syslogd as well
App::import('Lib', 'SysLog.SysLog');
$syslog = new SysLog();
if ($fields_result) $syslog->write('notice', $description.' -- '.$action.' -- '.$fields_result);
else $syslog->write('notice', $description.' -- '.$action);