'userID' => WCF::getUser()->userID,
'packageName' => $package->getName(),
'packageID' => $package->packageID,
- 'action' => 'uninstall',
- 'cancelable' => 0
+ 'action' => 'uninstall'
));
// initialize uninstallation
'packageID' => $packageID,
'archive' => (!empty($this->uploadPackage['tmp_name']) ? $this->uploadPackage['name'] : $this->downloadPackage),
'action' => ($this->package != null ? 'update' : 'install'),
- 'confirmInstallation' => 1,
- 'cancelable' => ($this->package != null ? 0 : 1)
+ 'confirmInstallation' => 1
));
$this->saved();
packageName VARCHAR(255) NOT NULL DEFAULT '',
packageID INT(10),
archive VARCHAR(255) NOT NULL DEFAULT '',
- action ENUM('install', 'update', 'uninstall', 'rollback') NOT NULL DEFAULT 'install',
- cancelable TINYINT(1) NOT NULL DEFAULT 1,
+ action ENUM('install', 'update', 'uninstall') NOT NULL DEFAULT 'install',
done TINYINT(1) NOT NULL DEFAULT 0,
confirmInstallation TINYINT(1) NOT NULL DEFAULT 0,
packageType ENUM('default', 'requirement', 'optional') NOT NULL DEFAULT 'default'