Removed code that was not needed any longer from Set::extract

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2008-03-14 18:30:34 +00:00
parent 32d9de160d
commit 49a092f1d0

View file

@ -391,15 +391,7 @@ class Set extends Object {
if (!isset($contexts[0])) {
$contexts = array($data);
}
if (is_string($path)) {
$last = substr($path, -1, 1);
if ($last == '*' && substr($path, -2, 1) != '/') {
$path = substr($path, 0, -1);
} else {
$last = false;
}
$tokens = array_slice(explode('/', $path), 1);
}
do {
$token = array_shift($tokens);
$conditions = false;