protected function findExistingItem(array $data) {
$sql = "SELECT *
FROM wcf".WCF_N."_".$this->tableName."
- WHERE definitionName = ?
- AND packageID = ?";
- $parameters = array(
- $data['definitionName'],
- $this->installation->getPackageID()
- );
+ WHERE definitionName = ?";
+ $parameters = array($data['definitionName']);
return array(
'sql' => $sql,
packageID INT(10) NOT NULL,
interfaceName VARCHAR(255) NOT NULL DEFAULT '',
categoryName VARCHAR(80) NOT NULL DEFAULT '',
- UNIQUE KEY definitionName (definitionName, packageID)
+ UNIQUE KEY definitionName (definitionName)
);
DROP TABLE IF EXISTS wcf1_option;