Fixing class load order in vendors() and uses()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3446 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-09-03 06:46:43 +00:00
parent a4dbb38d78
commit c40e3e355c

View file

@ -455,7 +455,7 @@
* @uses LIBS
*/
function uses() {
$args = array_reverse(func_get_args());
$args = func_get_args();
$c = func_num_args();
for ($i = 0; $i < $c; $i++) {
@ -469,7 +469,7 @@
*
*/
function vendor($name) {
$args = array_reverse(func_get_args());
$args = func_get_args();
$c = func_num_args();
for ($i = 0; $i < $c; $i++) {