[21000] Improvement: More on allow default values for apps without tables 4565:4680

Sigurd Nes <[email protected]> Sat, 30 Jan 2010 16:50:56 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 21000
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21000
Author:   sigurdne
Date:     2010-01-30 16:50:56 +0000 (Sat, 30 Jan 2010)
Log Message:
-----------
Improvement: More on allow default values for apps without tables 4565:4680

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_process.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_process.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_process.inc.php	2010-01-30 16:49:44 UTC (rev 20999)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.setup_process.inc.php	2010-01-30 16:50:56 UTC (rev 21000)
@@ -356,9 +356,10 @@
 				$appname = isset($setup_info[$key]['name']) ? $setup_info[$key]['name'] : '';
 				$appdir  = PHPGW_SERVER_ROOT . "/{$appname}/setup/";
 
-				if( isset($setup_info[$key]['tables'])
-					&& $setup_info[$key]['tables']
-					&& file_exists($appdir.'default_records.inc.php'))
+//				if( isset($setup_info[$key]['tables'])
+//					&& $setup_info[$key]['tables']
+//					&& file_exists($appdir.'default_records.inc.php'))
+				if( file_exists($appdir.'default_records.inc.php'))
 				{
 					if($DEBUG)
 					{