Changeset 1027 for trunk/upgrade_feed.php
- Timestamp:
- Feb 6, 2006, 10:52:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade_feed.php
r953 r1027 57 57 58 58 // retrieve existing upgrades 59 $existing = array(); 60 61 if ($contents = opendir(UPGRADES_PATH)) 62 { 63 while (($node = readdir($contents)) !== false) 64 { 65 if (is_file(UPGRADES_PATH.'/'.$node) 66 and preg_match('/^(.*?)-database\.php$/', $node, $match)) 67 { 68 array_push($existing, $match[1]); 69 } 70 } 71 } 72 natcasesort($existing); 59 $existing = get_available_upgrade_ids(); 73 60 74 61 // which upgrades need to be applied?
Note: See TracChangeset
for help on using the changeset viewer.