Skip to content

Commit

Permalink
MDL-33400 questionlib - minor whitespace/equality imporvement
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jun 14, 2012
1 parent e46dfeb commit 813f696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/questionlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1858,8 +1858,8 @@ function question_pluginfile($course, $context, $component, $filearea, $args, $f
$args, $forcedownload, $options);
}

//okay, we're here so lets check for function without 'mod_'.
if(strpos($module, 'mod_') == 0) {
// Okay, we're here so lets check for function without 'mod_'.
if (strpos($module, 'mod_') === 0) {
$filefunctionold = substr($module, 3) . '_question_pluginfile';
if (function_exists($filefunctionold)) {
$filefunctionold($course, $context, $component, $filearea, $qubaid, $slot,
Expand Down

0 comments on commit 813f696

Please sign in to comment.