update.php: Run checkComposerLockUpToDate.php
authorKunal Mehta <legoktm@gmail.com>
Sat, 17 Jan 2015 01:49:49 +0000 (17:49 -0800)
committerReedy <reedy@wikimedia.org>
Fri, 23 Jan 2015 20:02:20 +0000 (20:02 +0000)
As suggested on wikitech-l

Change-Id: If9cde3aafb136c7194e74e6f7f0bae0b49e36465

maintenance/update.php

index d1d17cf..8ab1ddb 100755 (executable)
@@ -131,6 +131,10 @@ class UpdateMediaWiki extends Maintenance {
                        wfCountdown( 5 );
                }
 
+               // Check external dependencies are up to date
+               $composerLockUpToDate = $this->runChild( 'CheckComposerLockUpToDate' );
+               $composerLockUpToDate->execute();
+
                # Attempt to connect to the database as a privileged user
                # This will vomit up an error if there are permissions problems
                $db = wfGetDB( DB_MASTER );