summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-03 20:39:09 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-20 13:38:38 +0200
commit6e08014781ea0099d7e4466dd48d80af63d8ab69 (patch)
tree393c2848c85c56faf108fb4add77ad26a3156f78 /lib/private/server.php
parent2790bda4f8d6452e65e28935cee62e1ab5468acf (diff)
downloadnextcloud-server-6e08014781ea0099d7e4466dd48d80af63d8ab69.tar.gz
nextcloud-server-6e08014781ea0099d7e4466dd48d80af63d8ab69.zip
Rename namespace to Diagnostics
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index c0b94a5b4c3..7b8ed2cabf5 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -6,16 +6,16 @@ use OC\AppFramework\Http\Request;
use OC\AppFramework\Db\Db;
use OC\AppFramework\Utility\SimpleContainer;
use OC\Cache\UserCache;
-use OC\Debug\DummyQueryLogger;
-use OC\Debug\EventLogger;
-use OC\Debug\QueryLogger;
+use OC\Diagnostics\DummyQueryLogger;
+use OC\Diagnostics\EventLogger;
+use OC\Diagnostics\QueryLogger;
use OC\Security\CertificateManager;
use OC\DB\ConnectionWrapper;
use OC\Files\Node\Root;
use OC\Files\View;
use OC\Security\Crypto;
use OC\Security\SecureRandom;
-use OC\Debug\DummyEventLogger;
+use OC\Diagnostics\DummyEventLogger;
use OCP\IServerContainer;
use OCP\ISession;
use OC\Tagging\TagMapper;
@@ -583,7 +583,7 @@ class Server extends SimpleContainer implements IServerContainer {
*
* The returned logger only logs data when debug mode is enabled
*
- * @return \OCP\Debug\IEventLogger
+ * @return \OCP\Diagnostics\IEventLogger
*/
function getEventLogger() {
return $this->query('EventLogger');
@@ -594,9 +594,9 @@ class Server extends SimpleContainer implements IServerContainer {
*
* The returned logger only logs data when debug mode is enabled
*
- * @return \OCP\Debug\IQueryLogger
+ * @return \OCP\Diagnostics\IQueryLogger
*/
function getQueryLogger() {
- return $this->query('EventLogger');
+ return $this->query('QueryLogger');
}
}