Created
October 2, 2014 21:32
-
-
Save mikevanwinkle/339504cbd2759f2c65fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// line 410 of modules/update/update.module | |
// See if the .info file is newer than the last time we checked for data, | |
// and if so, mark this project's data as needing to be re-fetched. Any | |
// time an admin upgrades their local installation, the .info file will | |
// be changed, so this is the only way we can be sure we're not showing | |
// bogus information right after they upgrade. | |
if ($project['info']['_info_file_ctime'] > $available[$key]['last_fetch']) { | |
$available[$key]['fetch_status'] = UPDATE_FETCH_PENDING; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment