From de4d479af254512700b8aedce9c1a597880322b0 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Mon, 17 May 2010 11:05:23 +0200 Subject: Let actionOK detect auth backend capabilities --- inc/actions.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc/actions.php') 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 -- cgit v1.2.3