diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-25 09:49:45 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-25 09:49:45 +0000 |
| commit | f92dab993226f176ab9aa2afe245c481083d39ef (patch) | |
| tree | bd25e239dfab67624df08f6444a796885e5aafea /BitInstaller.php | |
| parent | 5fd4001a3fc25e8a513ed580a03e15b042a82591 (diff) | |
| download | install-f92dab993226f176ab9aa2afe245c481083d39ef.tar.gz install-f92dab993226f176ab9aa2afe245c481083d39ef.tar.bz2 install-f92dab993226f176ab9aa2afe245c481083d39ef.zip | |
minor fixes in logic and undefined index stuff
Diffstat (limited to 'BitInstaller.php')
| -rw-r--r-- | BitInstaller.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/BitInstaller.php b/BitInstaller.php index 840efab..eaf2f69 100644 --- a/BitInstaller.php +++ b/BitInstaller.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.36 2008/10/25 08:14:03 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.37 2008/10/25 09:49:45 squareing Exp $ * @package install */ @@ -21,6 +21,16 @@ class BitInstaller extends BitSystem { } /** + * unloadUpgradeFiles Clear out upgrades hash + * + * @access public + * @return void + */ + function unloadUpgradeFiles() { + $this->mPackageUpgrades = array(); + } + + /** * loadUpgradeFiles This will load all files in the dir <pckage>/admin/upgrades/<version>.php with a version greater than the one installed * * @param array $pPackage |
