diff --git a/bol/action_data_dao.php b/bol/action_data_dao.php index ef3b3f7..b5b48f3 100644 --- a/bol/action_data_dao.php +++ b/bol/action_data_dao.php @@ -31,7 +31,7 @@ class PRIVACY_BOL_ActionDataDao extends OW_BaseDao { const ACTION = 'key'; const USER_ID = 'userId'; - const PLUGIN_KEY = 'plugin_key'; + const PLUGIN_KEY = 'pluginKey'; const VALUE = 'value'; /** @@ -163,10 +163,10 @@ public function deleteByPluginKey( $pluginKey ) } $example = new OW_Example(); - $example->andFieldEqual(self::USER_ID, $pluginKey); + $example->andFieldEqual(self::PLUGIN_KEY, $pluginKey); $this->deleteByExample($example); return $this->dbo->getAffectedRows(); } -} \ No newline at end of file +}