Remove unnecessary source name prefix.
authorJan Schneider <jan@horde.org>
Fri, 2 Jul 2010 19:59:20 +0000 (21:59 +0200)
committerJan Schneider <jan@horde.org>
Mon, 5 Jul 2010 10:34:45 +0000 (12:34 +0200)
turba/lib/Driver/Share.php

index 9ac35a0..bda4b12 100644 (file)
@@ -81,7 +81,7 @@ class Turba_Driver_Share extends Turba_Driver
     function _init()
     {
         $this->_share = &$this->_params['config']['params']['share'];
-        $this->_driver = &Turba_Driver::factory('_' . $this->name, $this->_params['config']);
+        $this->_driver = &Turba_Driver::factory($this->name, $this->_params['config']);
         if (is_a($this->_driver, 'PEAR_Error')) {
             return $this->_driver;
         }