fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11661] API: more on vfs filesystem


From: Sigurd Nes
Subject: [Fmsystem-commits] [11661] API: more on vfs filesystem
Date: Fri, 07 Feb 2014 12:10:57 +0000

Revision: 11661
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11661
Author:   sigurdne
Date:     2014-02-07 12:10:56 +0000 (Fri, 07 Feb 2014)
Log Message:
-----------
API: more on vfs filesystem

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.vfs_sql.inc.php

Modified: trunk/phpgwapi/inc/class.vfs_sql.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.vfs_sql.inc.php    2014-02-06 14:23:15 UTC (rev 
11660)
+++ trunk/phpgwapi/inc/class.vfs_sql.inc.php    2014-02-07 12:10:56 UTC (rev 
11661)
@@ -78,6 +78,7 @@
                        
                        switch ($file_store_contents)
                        {
+                               case 'braArkiv':
                                case 'filesystem':
                                        $this->file_actions = 1;
                                        break;
@@ -86,7 +87,10 @@
                                        break;
                        }
 
-                       $this->fileoperation = 
CreateObject("phpgwapi.vfs_fileoperation_{$file_store_contents}");
+                       if($this->file_actions)
+                       {
+                               $this->fileoperation = 
CreateObject("phpgwapi.vfs_fileoperation_{$file_store_contents}");
+                       }
 
                        $this->acl_default = $conf->config_data['acl_default'];
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]