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

Outdated del() statement in RevisionBehavior #8

Closed
bravo-kernel opened this issue Jun 24, 2011 · 1 comment
Closed

Outdated del() statement in RevisionBehavior #8

bravo-kernel opened this issue Jun 24, 2011 · 1 comment

Comments

@bravo-kernel
Copy link

Hi there,

I am using your Revision behavior and love it but just ran into an issue with SQL errors concerning a 'del' statement.

Someone pointed out that this is caused by an outdated del() statement in line 878. Replacing it with delete() as shown below fixes the problem:

$Model->ShadowModel->delete($oldest[$Model->alias][$Model->ShadowModel->primaryKey]);

HTH,
Bravo

alkemann added a commit that referenced this issue Jun 24, 2011
@alkemann
Copy link
Owner

thanks

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