Deprecate App::pluginPath()

This commit is contained in:
ADmad 2014-06-07 22:49:56 +05:30
parent 9e744113f0
commit 4c83563501

View file

@ -360,6 +360,7 @@ class App {
* @param string $plugin CamelCased/lower_cased plugin name to find the path of. * @param string $plugin CamelCased/lower_cased plugin name to find the path of.
* @return string full path to the plugin. * @return string full path to the plugin.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::pluginPath * @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) { public static function pluginPath($plugin) {
return CakePlugin::path($plugin); return CakePlugin::path($plugin);