1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15:
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17:
18: 19: 20: 21: 22: 23: 24:
25: class cUpgradeJob_0010 extends cUpgradeJobAbstract {
26:
27: public $maxVersion = "4.9.1";
28:
29: public function _execute() {
30: global $db, $cfg;
31:
32: plugin_include('pim', 'classes/class.pim.plugin.collection.php');
33:
34: $pluginColl = new PimPluginCollection();
35: $pluginColl->select();
36: $i = 1;
37: while ($plugin = $pluginColl->next()) {
38: $plugin->set('executionorder', $i);
39: $plugin->store();
40:
41: $i++;
42: }
43: }
44:
45: }
46: