Dotclear

source: plugins/pollsFactory/_uninstall.php @ 2099

Revision 2099, 2.3 KB checked in by JcDenis, 14 years ago (diff)

pollsFactory 0.1:

  • First lab release
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of pollsFactory, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009-2010 JC Denis and contributors
6# jcdenis@gdwd.com
7#
8# Licensed under the GPL version 2.0 license.
9# A copy of this license is available in LICENSE file or at
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11# -- END LICENSE BLOCK ------------------------------------
12
13if (!defined('DC_CONTEXT_ADMIN')){return;}
14
15$this->addUserAction(
16     /* type */ 'settings',
17     /* action */ 'delete_all',
18     /* ns */ 'pollsFactory',
19     /* description */ __('delete all settings')
20);
21
22$this->addUserAction(
23     /* type */ 'plugins',
24     /* action */ 'delete',
25     /* ns */ 'pollsFactory',
26     /* description */ __('delete plugin files')
27);
28
29$this->addUserAction(
30     /* type */ 'versions',
31     /* action */ 'delete',
32     /* ns */ 'pollsFactory',
33     /* description */ __('delete the version number')
34);
35
36$this->addDirectAction(
37     /* type */ 'settings',
38     /* action */ 'delete_all',
39     /* ns */ 'pollsFactory',
40     /* description */ sprintf(__('delete all %s settings'),'pollsFactory')
41);
42
43$this->addDirectAction(
44     /* type */ 'versions',
45     /* action */ 'delete',
46     /* ns */ 'pollsFactory',
47     /* description */ sprintf(__('delete %s version number'),'pollsFactory')
48);
49
50$this->addDirectAction(
51     /* type */ 'table',
52     /* action */ 'delete',
53     /* ns */ 'pollsfact_p',
54     /* description */ sprintf(__('delete %s table'),'pollsFactory polls')
55);
56
57$this->addDirectAction(
58     /* type */ 'table',
59     /* action */ 'delete',
60     /* ns */ 'pollsfact_q',
61     /* description */ sprintf(__('delete %s table'),'pollsFactory queries')
62);
63
64$this->addDirectAction(
65     /* type */ 'table',
66     /* action */ 'delete',
67     /* ns */ 'pollsfact_o',
68     /* description */ sprintf(__('delete %s table'),'pollsFactory options')
69);
70
71$this->addDirectAction(
72     /* type */ 'table',
73     /* action */ 'delete',
74     /* ns */ 'pollsfact_r',
75     /* description */ sprintf(__('delete %s table'),'pollsFactory responses')
76);
77
78$this->addDirectAction(
79     /* type */ 'table',
80     /* action */ 'delete',
81     /* ns */ 'pollsfact_u',
82     /* description */ sprintf(__('delete %s table'),'pollsFactory users')
83);
84
85$this->addDirectAction(
86     /* type */ 'plugins',
87     /* action */ 'delete',
88     /* ns */ 'pollsFactory',
89     /* description */ sprintf(__('delete %s plugin files'),'pollsFactory')
90);
91?>
Note: See TracBrowser for help on using the repository browser.

Sites map