forked from marekmurawski/djg_i18n_generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuninstall.php
30 lines (27 loc) · 871 Bytes
/
uninstall.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/*
* Wolf CMS - Content Management Simplified. <http://www.wolfcms.org>
* Copyright (C) 2008-2013 Martijn van der Kleijn <martijn.niji@gmail.com>
*
* This file is part of Wolf CMS. Wolf CMS is licensed under the GNU GPLv3 license.
* Please see license.txt for the full license text.
*/
/* Security measure */
if (!defined('IN_CMS')) { exit(); }
/**
*
* Note: to use the settings and documentation pages, you will first need to enable
* the plugin!
*
* @package Plugins
* @subpackage djg_i18n_generator
*
* @author Michał Uchnast <djgprv@gmail.com>,
* @copyright kreacjawww.pl
* @license http://www.gnu.org/licenses/gpl.html GPLv3 license
*/
// Attempt to delete plugin settings
if (Plugin::deleteAllSettings('djg_i18n_generator') === false) {
Flash::set('error', __('Unable to delete plugin settings.'));
redirect(get_url('setting'));
}