diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-03-30 23:15:48 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-03-30 23:41:53 +0200 |
commit | 3a4521a012fe75d8ec3685e1eb87374e5abd9da2 (patch) | |
tree | 63fe0cd752b8c27364b7888c27d111c041bc93fb /settings | |
parent | 6b704a780dbe3daa4c13ad49ad4265c1db4a67aa (diff) | |
download | nextcloud-server-3a4521a012fe75d8ec3685e1eb87374e5abd9da2.tar.gz nextcloud-server-3a4521a012fe75d8ec3685e1eb87374e5abd9da2.zip |
Add support for logging to syslog
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/getlog.php | 2 | ||||
-rw-r--r-- | settings/log.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/getlog.php b/settings/ajax/getlog.php index 600ebefcece..ed48b2cae1a 100644 --- a/settings/ajax/getlog.php +++ b/settings/ajax/getlog.php @@ -13,5 +13,5 @@ OC_JSON::checkAdminUser(); $count=(isset($_GET['count']))?$_GET['count']:50; $offset=(isset($_GET['offset']))?$_GET['offset']:0; -$entries=OC_Log::getEntries($count,$offset); +$entries=OC_Log_Owncloud::getEntries($count,$offset); OC_JSON::success(array("data" => $entries)); diff --git a/settings/log.php b/settings/log.php index 946f2b6f8e5..ddbf72c4433 100644 --- a/settings/log.php +++ b/settings/log.php @@ -28,7 +28,7 @@ OC_Util::addStyle( "settings", "settings" ); OC_Util::addScript( "settings", "apps" ); OC_App::setActiveNavigationEntry( "core_log" ); -$entries=OC_Log::getEntries(); +$entries=OC_Log_Owncloud::getEntries(); OC_Util::addScript('settings','log'); OC_Util::addStyle('settings','settings'); |