diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-05-17 11:05:23 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-05-17 11:06:52 +0200 |
commit | de4d479af254512700b8aedce9c1a597880322b0 (patch) | |
tree | 029cc84cc1f75155f925c4bde3137e6a8f821533 /inc/actions.php | |
parent | 8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1 (diff) | |
download | rpg-de4d479af254512700b8aedce9c1a597880322b0.tar.gz rpg-de4d479af254512700b8aedce9c1a597880322b0.tar.bz2 |
Let actionOK detect auth backend capabilities
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 5 |
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 |