summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-04 10:35:32 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-04 10:37:52 +0200
commit3ff314c6f26166e01fe6c561e411f8dc3a429b68 (patch)
tree24578f2c453a9c5821311b4e9fb36c7d7f3b76f5 /settings/admin.php
parentcd7f4ed96f40521eb358f09d27bdb88c00dee074 (diff)
downloadnextcloud-server-3ff314c6f26166e01fe6c561e411f8dc3a429b68.tar.gz
nextcloud-server-3ff314c6f26166e01fe6c561e411f8dc3a429b68.zip
Fix usages of OC\Log\Owncloud
Diffstat (limited to 'settings/admin.php')
-rw-r--r--settings/admin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/admin.php b/settings/admin.php
index b67331b22eb..309454c927a 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -44,15 +44,16 @@ OC_Util::addScript('files', 'jquery.fileupload');
$showLog = (\OC::$server->getConfig()->getSystemValue('log_type', 'owncloud') === 'owncloud');
$numEntriesToLoad = 3;
-$entries = OC_Log_Owncloud::getEntries($numEntriesToLoad + 1);
+$entries = \OC\Log\Owncloud::getEntries($numEntriesToLoad + 1);
$entriesRemaining = count($entries) > $numEntriesToLoad;
$entries = array_slice($entries, 0, $numEntriesToLoad);
-$logFilePath = OC_Log_Owncloud::getLogFilePath();
+$logFilePath = \OC\Log\Owncloud::getLogFilePath();
$doesLogFileExist = file_exists($logFilePath);
$logFileSize = 0;
if($doesLogFileExist) {
$logFileSize = filesize($logFilePath);
}
+
$config = \OC::$server->getConfig();
$appConfig = \OC::$server->getAppConfig();
$request = \OC::$server->getRequest();