Permalink
Browse files

Make App::_loadVendor() static.

Fixes strict warnings.
Fixes #2137
  • Loading branch information...
1 parent 4d795a7 commit 7e89442a136aa6986fe72c6f5a6e92e7e9302ff5 @markstory markstory committed Oct 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Core/App.php
@@ -703,7 +703,7 @@ protected function _loadFile($name, $plugin, $search, $file, $return) {
* @param string $ext file extension if known
* @return boolean true if the file was loaded successfully, false otherwise
*/
- protected function _loadVendor($name, $plugin, $file, $ext) {
+ protected static function _loadVendor($name, $plugin, $file, $ext) {
if ($mapped = self::_mapped($name, $plugin)) {
return (bool) include_once($mapped);
}

0 comments on commit 7e89442

Please sign in to comment.