Skip to content

Commit

Permalink
PrettyPageHandler: remove deprecated notices
Browse files Browse the repository at this point in the history
Until we handle deprecated errors in a graceful manner,
triggering this aborts the application, which defeats the purpose of compatibility.
Also see issue #100.
  • Loading branch information
denis-sokolov committed Feb 16, 2014
1 parent c22d92d commit d6dcec2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Whoops/Handler/PrettyPageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,6 @@ protected function getResource($resource)
*/
public function getResourcesPath()
{
trigger_error(__METHOD__ . " is deprecated by PrettyPageHandler::getResourcePaths", E_USER_DEPRECATED);

$allPaths = $this->getResourcePaths();

// Compat: return only the first path
Expand All @@ -425,7 +423,6 @@ public function getResourcesPath()
*/
public function setResourcesPath($resourcesPath)
{
trigger_error(__METHOD__ . " is deprecated by PrettyPageHandler::addResourcePath", E_USER_DEPRECATED);
$this->addResourcePath($resourcesPath);
}
}

0 comments on commit d6dcec2

Please sign in to comment.