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

[5.4] DatabaseManager::purge with no argument #18128

Merged
merged 2 commits into from
Feb 27, 2017
Merged

[5.4] DatabaseManager::purge with no argument #18128

merged 2 commits into from
Feb 27, 2017

Conversation

balping
Copy link
Contributor

@balping balping commented Feb 27, 2017

Previously, if no argument was passed, unset($this->connections[null]) was executed, whereas the key for default connection is obviously not null. I haven't found any tests for DatabaseManager, that's why I haven't created a test for this fix.

Previously, if no argument was passed,  unset($this->connections[null]) was executed, whereas the key for default connection is obviously not null
@taylorotwell taylorotwell merged commit 646224c into laravel:5.4 Feb 27, 2017
@GrahamCampbell GrahamCampbell changed the title DatabaseManager::purge with no argument [5.4] DatabaseManager::purge with no argument Feb 27, 2017
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