diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 14:06:40 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 18:00:16 +0200 |
commit | d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (patch) | |
tree | 6517676c49da188ae4ee832245236fe0e1e25cf3 /settings/ajax | |
parent | 68fd74963eda73fe0e3173cde495c284ea1fd8f4 (diff) | |
download | nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.tar.gz nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.zip |
Remove OC_Log
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/enableapp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index 69b186bb9f3..55298430e28 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -31,6 +31,6 @@ try { OC_App::enable(OC_App::cleanAppId((string)$_POST['appid']), $groups); OC_JSON::success(); } catch (Exception $e) { - OC_Log::write('core', $e->getMessage(), OC_Log::ERROR); + \OCP\Util::writeLog('core', $e->getMessage(), \OCP\Util::ERROR); OC_JSON::error(array("data" => array("message" => $e->getMessage()) )); } |