MDL-53595 install: update the list of stale files for 3.1
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 23 Mar 2016 17:19:36 +0000 (18:19 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 4 Apr 2016 17:22:08 +0000 (19:22 +0200)
Note I've deleted a couple of files there, 99.99% not problematic
(repository/boxnet) because as a general rule it's better to avoid
adding plugin files in the function and, instead, use core ones that
cannot be "reinstalled". Exception to the rule (what's a rule without
an exception) being forum that cannot be deleted. ;-)

lib/upgradelib.php

index 11bbdf4..a3db8fa 100644 (file)
@@ -372,8 +372,10 @@ function upgrade_stale_php_files_present() {
 
     $someexamplesofremovedfiles = array(
         // Removed in 3.1.
-        '/repository/boxnet/migrationv1.php',
-        '/repository/boxnet/cli/migrationv1.php',
+        '/lib/classes/log/sql_internal_reader.php',
+        '/lib/zend/',
+        '/mod/forum/pix/icon.gif',
+        '/tag/templates/tagname.mustache',
         // Removed in 3.0.
         '/mod/lti/grade.php',
         '/tag/coursetagslib.php',