]> git.mjollnir.org Git - moodle.git/commitdiff
Delete one condition used while debugging.
authorstronk7 <stronk7>
Sun, 25 Feb 2007 20:36:13 +0000 (20:36 +0000)
committerstronk7 <stronk7>
Sun, 25 Feb 2007 20:36:13 +0000 (20:36 +0000)
admin/xmldb/actions/load_xml_file/load_xml_file.class.php

index 3b5f88d2b97207012a980ada5f885c5cadde5817..9dd18eda8c662984e2813c22b853fdc3ebb1cc2a 100644 (file)
@@ -95,9 +95,7 @@ class load_xml_file extends XMLDBAction {
                 $loaded = $xmldb_file->loadXMLStructure();
                 if ($loaded && $xmldb_file->isLoaded()) {
                     $dbdir->xml_loaded = true;
-                    if (!empty($dbdir->filemtime)) {
-                        $dbdir->filemtime = filemtime($dbdir->path . '/install.xml'); 
-                    }
+                    $dbdir->filemtime = filemtime($dbdir->path . '/install.xml'); 
                 }
                 $dbdir->xml_file = $xmldb_file;
             } else {