Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
32aa175b
Commit
32aa175b
authored
May 11, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed ErrorHandler::deRegister to unregister. [skip ci]
parent
e55f8196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CHANGELOG.md
framework/CHANGELOG.md
+1
-1
ErrorHandler.php
framework/base/ErrorHandler.php
+2
-2
No files found.
framework/CHANGELOG.md
View file @
32aa175b
...
...
@@ -50,7 +50,7 @@ Yii Framework 2 Change Log
-
Enh: Added support to insert an event handler at the beginning of class-level event handler queue (qiangxue)
-
Enh: Added
`yii\console\Controller::EXIT_CODE_NORMAL`
and
`yii\console\Controller::EXIT_CODE_ERROR`
constants (samdark)
-
Enh:
`yii\console\MigrateController`
now returns
`yii\console\Controller::EXIT_CODE_ERROR`
in case of failed migration (samdark)
-
Enh: Added method ErrorHandler::
deRegister() for de
registering the ErrorHandler (cebe)
-
Enh: Added method ErrorHandler::
unregister() for un
registering the ErrorHandler (cebe)
-
Chg #2913: RBAC
`DbManager`
is now initialized via migration (samdark)
-
Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)
-
Chg #3175: InvalidCallException, InvalidParamException, UnknownMethodException are now extended from SPL BadMethodCallException (samdark)
...
...
framework/base/ErrorHandler.php
View file @
32aa175b
...
...
@@ -60,9 +60,9 @@ abstract class ErrorHandler extends Component
}
/**
*
Deregister
this error handler by restoring the PHP error and exception handlers.
*
Unregisters
this error handler by restoring the PHP error and exception handlers.
*/
public
function
deR
egister
()
public
function
unr
egister
()
{
restore_error_handler
();
restore_exception_handler
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment