diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-06 22:11:00 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-06 22:11:00 +0000 |
| commit | a19136b11a430e9514dd8dd8ed46f6b1499257e4 (patch) | |
| tree | 64a35a6314a86c8f055ff124024f7765a98b3ae3 /install_packages.php | |
| parent | 54e4aafc0f8f61aab7b61c255806976f3796c4f9 (diff) | |
| download | install-a19136b11a430e9514dd8dd8ed46f6b1499257e4.tar.gz install-a19136b11a430e9514dd8dd8ed46f6b1499257e4.tar.bz2 install-a19136b11a430e9514dd8dd8ed46f6b1499257e4.zip | |
only spew uninstall option errors only when we're not installing packages
Diffstat (limited to 'install_packages.php')
| -rw-r--r-- | install_packages.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install_packages.php b/install_packages.php index d7916d1..d771d59 100644 --- a/install_packages.php +++ b/install_packages.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.47 2007/01/06 18:06:35 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.48 2007/01/06 22:11:00 squareing Exp $ * @package install * @subpackage functions */ @@ -46,7 +46,7 @@ if( !empty( $_REQUEST['cancel'] ) ) { $method = FALSE; } } - } elseif( empty( $removeActions ) ) { + } elseif( $method != 'install' && empty( $removeActions ) ) { // we are un / reinstalling stuff but no actions have been selected $gBitSmarty->assign( 'warning', "You have selected to un / reinstall packages but have not selected any options. Please select at least one." ); return FALSE; |
