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
diff options
context:
space:
mode:
Diffstat (limited to 'tattoo/settings.php')
-rw-r--r--tattoo/settings.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/tattoo/settings.php b/tattoo/settings.php
deleted file mode 100644
index 2cbd41809..000000000
--- a/tattoo/settings.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-OCP\Util::addStyle('tattoo', 'settings');
-
-// die($_POST['tattooWallpaper']);
-if(isset($_POST['tattooSetWallpaper']) && isset($_POST['tattooWallpaper'])) {
- OCP\Config::setUserValue(OCP\User::getUser(),'tattoo','wallpaper',$_POST['tattooWallpaper']);
- OCP\Config::setUserValue(OCP\User::getUser(),'tattoo','lastModified',gmdate('D, d M Y H:i:s') . ' GMT');
-}
-$wallpaper=OCP\Config::getUserValue(OCP\User::getUser(),'tattoo','wallpaper','none');
-
-$tmpl = new OCP\Template( 'tattoo', 'settings');
-$tmpl->assign('tattooSelectedWallpaper',$wallpaper);
-
-return $tmpl->fetchPage();