Removed check for parent class in loadController()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5674 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-09-20 07:24:57 +00:00
parent d8f2a62057
commit 3e9a2a0851
2 changed files with 4 additions and 4 deletions

View file

@ -387,7 +387,7 @@
$className = $name . 'Controller';
if (class_exists(low($className)) && is_subclass_of($className, $parent)) {
if (class_exists($className)) {
return true;
} else {
$name = Inflector::underscore($className);