~pvigo/+junk/owncloud-14.04

« back to all changes in this revision

Viewing changes to share/owncloud/apps/firstrunwizard/ajax/disable.php

  • Committer: Pablo Vigo
  • Date: 2014-12-15 13:36:46 UTC
  • Revision ID: pvigo@xtec.cat-20141215133646-7d6it90e1dbsijc2
2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/**
 
4
* ownCloud - firstrunwizard application
 
5
*
 
6
* @author Frank Karlitschek
 
7
* @copyright 2012 Frank Karlitschek frank@owncloud.org
 
8
*
 
9
* This library is free software; you can redistribute it and/or
 
10
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
 
11
* License as published by the Free Software Foundation; either
 
12
* version 3 of the License, or any later version.
 
13
*
 
14
* This library is distributed in the hope that it will be useful,
 
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
 
18
*
 
19
* You should have received a copy of the GNU Lesser General Public
 
20
* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 
21
*
 
22
*/
 
23
 
 
24
OCP\JSON::checkLoggedIn();
 
25
OCP\JSON::checkAppEnabled('firstrunwizard');
 
26
OCP\JSON::callCheck();
 
27
 
 
28
\OCA_FirstRunWizard\Config::disable();
 
29
 
 
30