Got rid of all IoC::container() calls

This commit is contained in:
Phill Sparks
2011-11-11 09:52:30 +00:00
parent 9dbe7a29e2
commit b4fe148de5
10 changed files with 34 additions and 34 deletions

View File

@@ -149,7 +149,7 @@ class Form {
*/
public static function token()
{
$token = IoC::container()->core('session')->token();
$token = IoC::core('session')->token();
return static::input('hidden', 'csrf_token', $token);
}
@@ -540,4 +540,4 @@ class Form {
}
}
}
}