From 4c8356350121160cc00d01475c1a4a7d7b7308ce Mon Sep 17 00:00:00 2001 From: ADmad Date: Sat, 7 Jun 2014 22:49:56 +0530 Subject: [PATCH] Deprecate App::pluginPath() --- lib/Cake/Core/App.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index 4df1dc8fb..0c478c606 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -360,6 +360,7 @@ class App { * @param string $plugin CamelCased/lower_cased plugin name to find the path of. * @return string full path to the plugin. * @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::pluginPath + * @deprecated 2.6 Use `CakePlugin::path()` instead. */ public static function pluginPath($plugin) { return CakePlugin::path($plugin);