From f5399cbe5655d87958e9c0a10c42938573bdec28 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 24 May 2010 14:47:08 -0400 Subject: [PATCH] use the injector --- ansel/lib/Ansel.php | 13 ------------- ansel/lib/Application.php | 2 +- folks/lib/Driver.php | 28 ++-------------------------- news/lib/News.php | 28 +++++----------------------- turba/lib/Object.php | 10 ++-------- turba/view.php | 7 +------ 6 files changed, 11 insertions(+), 77 deletions(-) diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index 51348f290..c222495d6 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -55,19 +55,6 @@ class Ansel } /** - * Create and initialize the VFS object - * - * @return VFS object. - */ - static public function getVFS() - { - // @TODO: need to refactor the Vfs binder to a factory so we can handle - // vfs objects for different scopes. - $v_params = Horde::getVFSConfig('images'); - return VFS::singleton($v_params['type'], $v_params['params']); - } - - /** * Return a string containing an