helping IDEs with undefined variable detection
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:29:45 +0000 (11:29 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:29:45 +0000 (11:29 +0000)
lib/installlib.php

index db577c5..122f573 100644 (file)
@@ -515,6 +515,7 @@ function install_cli_database(array $options, $interactive) {
     $CFG->version = '';
     $CFG->release = '';
     $version = null;
+    $release = null;
 
     // read $version and $release
     require($CFG->dirroot.'/version.php');