Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tattoo
diff options
context:
space:
mode:
authorLuc Didry <luc@didry.org>2013-03-24 14:28:55 +0400
committerLuc Didry <luc@didry.org>2013-03-26 01:28:24 +0400
commit5a9ad45e3fc3b8717ffbfbf5f44978e520d73c02 (patch)
tree93c491c977d443346331e588059cf396327cdc87 /tattoo
parent04a0108509bcd4f96c15fb12b9d43916a9cc282c (diff)
Use OCP Namespace in appinfo/app.php
Diffstat (limited to 'tattoo')
-rw-r--r--tattoo/appinfo/app.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tattoo/appinfo/app.php b/tattoo/appinfo/app.php
index 8f98f7216..cf45a67ff 100644
--- a/tattoo/appinfo/app.php
+++ b/tattoo/appinfo/app.php
@@ -21,10 +21,10 @@
*
*/
-OC_APP::registerPersonal('tattoo','settings');
+OCP\App::registerPersonal('tattoo','settings');
-$wallpaper=OC_Preferences::getValue(OC_User::getUser(),'tattoo','wallpaper','none');
+$wallpaper=OCP\Config::getUserValue(OCP\User::getUser(),'tattoo','wallpaper','none');
if($wallpaper != 'none') {
- OC_Util::addStyle('tattoo', 'tattoo');
- OC_Util::addScript('tattoo', 'tattoo');
+ OCP\Util::addStyle('tattoo', 'tattoo');
+ OCP\Util::addScript('tattoo', 'tattoo');
}