summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-05-17 11:05:23 +0200
committerAdrian Lang <lang@cosmocode.de>2010-05-17 11:06:52 +0200
commitde4d479af254512700b8aedce9c1a597880322b0 (patch)
tree029cc84cc1f75155f925c4bde3137e6a8f821533 /inc/actions.php
parent8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1 (diff)
downloadrpg-de4d479af254512700b8aedce9c1a597880322b0.tar.gz
rpg-de4d479af254512700b8aedce9c1a597880322b0.tar.bz2
Let actionOK detect auth backend capabilities
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/actions.php b/inc/actions.php
index a426f0276..4b5bfdb1a 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -343,6 +343,11 @@ function act_revert($act){
global $ID;
global $REV;
global $lang;
+ // FIXME $INFO['writable'] currently refers to the attic version
+ // global $INFO;
+ // if (!$INFO['writable']) {
+ // return 'show';
+ // }
// when no revision is given, delete current one
// FIXME this feature is not exposed in the GUI currently