From 1dcf76342847d59783afcfa438dac40d02e5666b Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 19 Sep 2007 07:49:35 +0000 Subject: [PATCH] accesslib: get_user_access_bycontext() remove 2 unused var declarations (trivial) --- lib/accesslib.php | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.5