summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorHakan Sandell <sandell.hakan@gmail.com>2011-10-30 12:41:26 +0100
committerHakan Sandell <sandell.hakan@gmail.com>2011-10-30 12:41:26 +0100
commit3a68d3cc23ddbed6aed2eea5ef49c35ad3494959 (patch)
tree4857df2cb1547ba330cf664bda9882615ace0db8 /inc/actions.php
parented993c3be49e5048c5a8582d94415a1e74e9ec00 (diff)
parentd5a9514cb7286254b1dcf65ba764234e199b8b7f (diff)
downloadrpg-3a68d3cc23ddbed6aed2eea5ef49c35ad3494959.tar.gz
rpg-3a68d3cc23ddbed6aed2eea5ef49c35ad3494959.tar.bz2
Merge branch 'master' of github.com:splitbrain/dokuwiki
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php
index ddfafc554..4a2e200ae 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -215,7 +215,7 @@ function act_clean($act){
//disable all acl related commands if ACL is disabled
if(!$conf['useacl'] && in_array($act,array('login','logout','register','admin',
'subscribe','unsubscribe','profile','revert',
- 'resendpwd','subscribens','unsubscribens',))){
+ 'resendpwd'))){
msg('Command unavailable: '.htmlspecialchars($act),-1);
return 'show';
}
@@ -227,7 +227,7 @@ function act_clean($act){
'preview','search','show','check','index','revisions',
'diff','recent','backlink','admin','subscribe','revert',
'unsubscribe','profile','resendpwd','recover',
- 'draftdel','subscribens','unsubscribens','sitemap','media')) && substr($act,0,7) != 'export_' ) {
+ 'draftdel','sitemap','media')) && substr($act,0,7) != 'export_' ) {
msg('Command unknown: '.htmlspecialchars($act),-1);
return 'show';
}