summaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 17:38:27 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 17:38:27 +0200
commitd0554bef069b29affa95ec3c2bf78af637703a90 (patch)
treef28c25fef284dc6b61425917e79a812c85274597 /apps/gallery
parent7ded9cf520f74b595bc0f8939ac59249b47ccbc9 (diff)
downloadnextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.tar.gz
nextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.zip
finish porting of the LOG calls or the apps to the public api
Diffstat (limited to 'apps/gallery')
-rwxr-xr-x[-rw-r--r--]apps/gallery/lib/hooks_handlers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gallery/lib/hooks_handlers.php b/apps/gallery/lib/hooks_handlers.php
index 737c38c0593..9257bbce628 100644..100755
--- a/apps/gallery/lib/hooks_handlers.php
+++ b/apps/gallery/lib/hooks_handlers.php
@@ -52,7 +52,7 @@ class OC_Gallery_Hooks_Handlers {
if ($new_album_name == '')
$new_album_name = 'main';
- OCP\Util::writeLog(self::$APP_TAG, 'Creating new album '.$new_album_name, OC_Log::DEBUG);
+ OCP\Util::writeLog(self::$APP_TAG, 'Creating new album '.$new_album_name, OCP\Util::DEBUG);
OC_Gallery_Album::create(OC_User::getUser(), $new_album_name, $path);
return OC_Gallery_Album::find(OC_User::getUser(), null, $path);
@@ -110,7 +110,7 @@ class OC_Gallery_Hooks_Handlers {
if ($olddir == '') $olddir = '/';
if ($newdir == '') $newdir = '/';
if (!self::isPhoto($newpath)) return;
- OCP\Util::writeLog(self::$APP_TAG, 'Moving photo from '.$oldpath.' to '.$newpath, OC_Log::DEBUG);
+ OCP\Util::writeLog(self::$APP_TAG, 'Moving photo from '.$oldpath.' to '.$newpath, OCP\Util::DEBUG);
$album;
$newAlbumId;
$oldAlbumId;