From 39530dcae2e283413197314ff2ae5539ccb72b04 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 7 Jul 2010 08:01:41 +0000 Subject: [PATCH] MDL-23062 reverting incorrect fix, this needs to be fixed directly in accesslib --- lib/pagelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pagelib.php b/lib/pagelib.php index e461f19be1c..b49b6f10912 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -634,7 +634,7 @@ class moodle_page { if ($this->_legacypageobject) { return $this->_legacypageobject->user_allowed_editing(); } - return has_any_capability($this->all_editing_caps(), $this->context, null, false); + return has_any_capability($this->all_editing_caps(), $this->context); } /**