mirror of
https://github.com/filp/whoops.git
synced 2026-08-30 12:07:25 +00:00
PrettyPageHandler: remove deprecated notices
Until we handle deprecated errors in a graceful manner, triggering this aborts the application, which defeats the purpose of compatibility. Also see issue #100.
This commit is contained in:
@@ -410,8 +410,6 @@ class PrettyPageHandler extends Handler
|
||||
*/
|
||||
public function getResourcesPath()
|
||||
{
|
||||
trigger_error(__METHOD__ . " is deprecated by PrettyPageHandler::getResourcePaths", E_USER_DEPRECATED);
|
||||
|
||||
$allPaths = $this->getResourcePaths();
|
||||
|
||||
// Compat: return only the first path
|
||||
@@ -425,7 +423,6 @@ class PrettyPageHandler extends Handler
|
||||
*/
|
||||
public function setResourcesPath($resourcesPath)
|
||||
{
|
||||
trigger_error(__METHOD__ . " is deprecated by PrettyPageHandler::addResourcePath", E_USER_DEPRECATED);
|
||||
$this->addResourcePath($resourcesPath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user