diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/diagnostics/dummyeventlogger.php (renamed from lib/private/debug/dummyeventlogger.php) | 6 | ||||
-rw-r--r-- | lib/private/diagnostics/dummyquerylogger.php (renamed from lib/private/debug/dummyquerylogger.php) | 6 | ||||
-rw-r--r-- | lib/private/diagnostics/event.php (renamed from lib/private/debug/event.php) | 4 | ||||
-rw-r--r-- | lib/private/diagnostics/eventlogger.php (renamed from lib/private/debug/eventlogger.php) | 8 | ||||
-rw-r--r-- | lib/private/diagnostics/query.php (renamed from lib/private/debug/query.php) | 4 | ||||
-rw-r--r-- | lib/private/diagnostics/querylogger.php (renamed from lib/private/debug/querylogger.php) | 10 | ||||
-rw-r--r-- | lib/private/server.php | 14 |
7 files changed, 26 insertions, 26 deletions
diff --git a/lib/private/debug/dummyeventlogger.php b/lib/private/diagnostics/dummyeventlogger.php index 7aa4c21b674..f1386d2e88c 100644 --- a/lib/private/debug/dummyeventlogger.php +++ b/lib/private/diagnostics/dummyeventlogger.php @@ -6,9 +6,9 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IEventLogger; +use OCP\Diagnostics\IEventLogger; /** * Dummy event logger that doesn't actually log anything @@ -32,7 +32,7 @@ class DummyEventLogger implements IEventLogger { } /** - * @return \OCP\Debug\IEvent[] + * @return \OCP\Diagnostics\IEvent[] */ public function getEvents(){ return array(); diff --git a/lib/private/debug/dummyquerylogger.php b/lib/private/diagnostics/dummyquerylogger.php index 0c2664e4001..1617b204e90 100644 --- a/lib/private/debug/dummyquerylogger.php +++ b/lib/private/diagnostics/dummyquerylogger.php @@ -6,9 +6,9 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IQueryLogger; +use OCP\Diagnostics\IQueryLogger; class DummyQueryLogger implements IQueryLogger { /** @@ -23,7 +23,7 @@ class DummyQueryLogger implements IQueryLogger { } /** - * @return \OCP\Debug\IQuery[] + * @return \OCP\Diagnostics\IQuery[] */ public function getQueries() { return array(); diff --git a/lib/private/debug/event.php b/lib/private/diagnostics/event.php index b03fdeabc14..063c0c49dc2 100644 --- a/lib/private/debug/event.php +++ b/lib/private/diagnostics/event.php @@ -6,9 +6,9 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IEvent; +use OCP\Diagnostics\IEvent; class Event implements IEvent { /** diff --git a/lib/private/debug/eventlogger.php b/lib/private/diagnostics/eventlogger.php index 2127a624ed5..46084a1d496 100644 --- a/lib/private/debug/eventlogger.php +++ b/lib/private/diagnostics/eventlogger.php @@ -6,13 +6,13 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IEventLogger; +use OCP\Diagnostics\IEventLogger; class EventLogger implements IEventLogger { /** - * @var \OC\Debug\Event[] + * @var \OC\Diagnostics\Event[] */ private $events = array(); @@ -28,7 +28,7 @@ class EventLogger implements IEventLogger { } /** - * @return \OCP\Debug\IEvent[] + * @return \OCP\Diagnostics\IEvent[] */ public function getEvents() { return $this->events; diff --git a/lib/private/debug/query.php b/lib/private/diagnostics/query.php index 351c7d9daca..d50d7592636 100644 --- a/lib/private/debug/query.php +++ b/lib/private/diagnostics/query.php @@ -6,9 +6,9 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IQuery; +use OCP\Diagnostics\IQuery; class Query implements IQuery { private $sql; diff --git a/lib/private/debug/querylogger.php b/lib/private/diagnostics/querylogger.php index 990188da975..1f80f907173 100644 --- a/lib/private/debug/querylogger.php +++ b/lib/private/diagnostics/querylogger.php @@ -6,18 +6,18 @@ * See the COPYING-README file. */ -namespace OC\Debug; +namespace OC\Diagnostics; -use OCP\Debug\IQueryLogger; +use OCP\Diagnostics\IQueryLogger; class QueryLogger implements IQueryLogger { /** - * @var \OC\Debug\Query + * @var \OC\Diagnostics\Query */ protected $activeQuery; /** - * @var \OC\Debug\Query[] + * @var \OC\Diagnostics\Query[] */ protected $queries = array(); @@ -39,7 +39,7 @@ class QueryLogger implements IQueryLogger { } /** - * @return \OCP\Debug\IQuery[] + * @return \OCP\Diagnostics\IQuery[] */ public function getQueries() { return $this->queries; 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'); } } |