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

Port Area DAO to use PDO #560

Merged
merged 7 commits into from
Feb 9, 2022
Merged

Port Area DAO to use PDO #560

merged 7 commits into from
Feb 9, 2022

Conversation

jaragunde
Copy link
Member

@jaragunde jaragunde commented Feb 7, 2022

The usual: use the PDO API in AreaDAO and remove unused and commented code, fixing some PHP warnings along the way.

Part of #513.

Also remove some unnecessary checks in those operations.
Fixes:
* Undefined variable: string
* Undefined index: sid
We can replace them by a default implementation in the parent class.
This will be removed, eventually, when all children of BaseDAO use
the PDO API.
@jaragunde jaragunde merged commit ff8fc34 into main Feb 9, 2022
@jaragunde jaragunde deleted the pdo-area branch February 9, 2022 14:01
This was referenced Feb 9, 2022
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

Successfully merging this pull request may close these issues.

2 participants