mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Deprecate App::pluginPath()
This commit is contained in:
parent
9e744113f0
commit
4c83563501
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue