Skip to content

Commit

Permalink
Remove unused untested function from App.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 9, 2013
1 parent 735b6c2 commit 770d9de
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/Cake/Core/App.php
Expand Up @@ -518,20 +518,6 @@ public static function load($className) {
return false;
}

/**
* Returns the package name where a class was defined to be located at
*
* @param string $className name of the class to obtain the package name from
* @return string package name or null if not declared
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::location
*/
public static function location($className) {
if (!empty(static::$_classMap[$className])) {
return static::$_classMap[$className];
}
return null;
}

/**
* Initializes the App, registers a shutdown function.
*
Expand Down

0 comments on commit 770d9de

Please sign in to comment.