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:
Denis Sokolov
2014-02-16 14:37:08 +01:00
parent c22d92d1db
commit d6dcec2e3d
-3
View File
@@ -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);
}
}