Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete method is not working #5

Open
Rusumba opened this issue Jun 8, 2022 · 1 comment
Open

delete method is not working #5

Rusumba opened this issue Jun 8, 2022 · 1 comment

Comments

@Rusumba
Copy link

Rusumba commented Jun 8, 2022

Hello.
Thank you for your component. I'm using it often.
But yesterday tried to delete row from config table and I can't.

Yii::$app->config->delete('test');

Reviewed file Config.php and saw that in method delete missed method execute() when it tries to delete row from table.

$this->_db->createCommand()->delete($this->tableName, 'name = :name', [':name' => $name]);

So this action is not happening.
Can you fix it at your repo?

@abhi1693
Copy link
Owner

abhi1693 commented Jun 9, 2022

Please feel free to raise a PR. I have not worked on PHP in the last 7 years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants