From: martinlanghoff Date: Wed, 19 Sep 2007 07:49:35 +0000 (+0000) Subject: accesslib: get_user_access_bycontext() remove 2 unused var declarations (trivial) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1dcf76342847d59783afcfa438dac40d02e5666b;p=moodle.git accesslib: get_user_access_bycontext() remove 2 unused var declarations (trivial) --- diff --git a/lib/accesslib.php b/lib/accesslib.php index b6fb2412f9..8127a51a6e 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1272,8 +1272,6 @@ function get_user_access_bycontext($userid, $context, $acc=NULL) { // but the cost of re-fetching is minimal so we don't care. // ... for now! // - $targetpath; - $targetlevel; if ($context->contextlevel === CONTEXT_COURSE) { $targetpath = $context->path; $targetlevel = $context->contextlevel;