@@ -65,7 +65,9 @@ discard block |
||
| 65 | 65 | foreach($GLOBALS['egw_setup']->db->select($GLOBALS['egw_setup']->applications_table,'*',false,__LINE__,__FILE__) as $row) |
| 66 | 66 | { |
| 67 | 67 | $app = $row['app_name']; |
| 68 | - if (!isset($setup_info[$app])) // app source no longer there |
|
| 68 | + if (!isset($setup_info[$app])) |
|
| 69 | + { |
|
| 70 | + // app source no longer there |
|
| 69 | 71 | { |
| 70 | 72 | $setup_info[$app] = array( |
| 71 | 73 | 'name' => $app, |
@@ -73,6 +75,7 @@ discard block |
||
| 73 | 75 | 'version' => 'deleted', |
| 74 | 76 | ); |
| 75 | 77 | } |
| 78 | + } |
|
| 76 | 79 | $setup_info[$app]['currentver'] = $row['app_version']; |
| 77 | 80 | $setup_info[$app]['enabled'] = $row['app_enabled']; |
| 78 | 81 | } |
@@ -212,7 +215,9 @@ discard block |
||
| 212 | 215 | if ($setup_info['depends'][$depkey]['status'] == False) |
| 213 | 216 | { |
| 214 | 217 | /* Only set this if it has not already failed to upgrade - Milosch */ |
| 215 | - if($setup_info[$key]['status'] != 'F')//&& $setup_info[$key]['status'] != 'C') |
|
| 218 | + if($setup_info[$key]['status'] != 'F') |
|
| 219 | + { |
|
| 220 | + //&& $setup_info[$key]['status'] != 'C') |
|
| 216 | 221 | { |
| 217 | 222 | /* Added check for status U - uninstalled apps carry this flag (upgrade from nothing == install). |
| 218 | 223 | * This should fix apps showing post-install dep failure when they are not yet installed. |
@@ -220,6 +225,7 @@ discard block |
||
| 220 | 225 | if($setup_info[$key]['status'] == 'C' || $setup_info[$key]['status'] == 'U') |
| 221 | 226 | { |
| 222 | 227 | $setup_info[$key]['status'] = 'D'; |
| 228 | + } |
|
| 223 | 229 | } |
| 224 | 230 | else |
| 225 | 231 | { |
@@ -292,7 +298,10 @@ discard block |
||
| 292 | 298 | */ |
| 293 | 299 | function check_db($setup_info=null) |
| 294 | 300 | { |
| 295 | - if (!$setup_info) $setup_info = $GLOBALS['setup_info']; |
|
| 301 | + if (!$setup_info) |
|
| 302 | + { |
|
| 303 | + $setup_info = $GLOBALS['setup_info']; |
|
| 304 | + } |
|
| 296 | 305 | |
| 297 | 306 | try { // catch DB errors |
| 298 | 307 | if (!$GLOBALS['egw_setup']->db->Link_ID) |
@@ -482,11 +491,14 @@ discard block |
||
| 482 | 491 | { |
| 483 | 492 | echo '<br>check_app_tables(): Checking: ' . $appname . ',table: ' . $val; |
| 484 | 493 | } |
| 485 | - if(!in_array($val,$tables) && !in_array(strtolower($val),$tables)) // names in tables might be lowercase |
|
| 494 | + if(!in_array($val,$tables) && !in_array(strtolower($val),$tables)) |
|
| 495 | + { |
|
| 496 | + // names in tables might be lowercase |
|
| 486 | 497 | { |
| 487 | 498 | if($GLOBALS['DEBUG']) |
| 488 | 499 | { |
| 489 | 500 | echo '<br>check_app_tables(): ' . $val . ' missing!'; |
| 501 | + } |
|
| 490 | 502 | } |
| 491 | 503 | if(!$any) |
| 492 | 504 | { |
@@ -543,9 +555,12 @@ discard block |
||
| 543 | 555 | $msg = lang('does not exist'); |
| 544 | 556 | return false; |
| 545 | 557 | } |
| 546 | - if (!@is_writeable($dir) && $_SERVER['HTTP_HOST']) // only do the check if we run by the webserver |
|
| 558 | + if (!@is_writeable($dir) && $_SERVER['HTTP_HOST']) |
|
| 559 | + { |
|
| 560 | + // only do the check if we run by the webserver |
|
| 547 | 561 | { |
| 548 | 562 | $msg = lang('is not writeable by the webserver'); |
| 563 | + } |
|
| 549 | 564 | return false; |
| 550 | 565 | } |
| 551 | 566 | if ($check_in_docroot) |
@@ -23,17 +23,23 @@ discard block |
||
| 23 | 23 | if (!isset($config['vfs_fstab']) || $config['vfs_fstab'] == json_encode($default=array( |
| 24 | 24 | '/' => 'sqlfs://$host/', |
| 25 | 25 | '/apps' => 'links://$host/apps', |
| 26 | - )) || $config['vfs_fstab'] == serialize($default)) // detect old serialized value too |
|
| 26 | + )) || $config['vfs_fstab'] == serialize($default)) |
|
| 27 | + { |
|
| 28 | + // detect old serialized value too |
|
| 27 | 29 | { |
| 28 | 30 | $config['vfs_storage_mode'] = 'fs'; |
| 29 | 31 | } |
| 32 | + } |
|
| 30 | 33 | elseif($config['vfs_fstab'] == json_encode($default_db=array( |
| 31 | 34 | '/' => 'sqlfs://$host/?storage=db', |
| 32 | 35 | '/apps' => 'links://$host/apps?storage=db', |
| 33 | - )) || $config['vfs_fstab'] == serialize($default_db)) // detect old serialized value too |
|
| 36 | + )) || $config['vfs_fstab'] == serialize($default_db)) |
|
| 37 | + { |
|
| 38 | + // detect old serialized value too |
|
| 34 | 39 | { |
| 35 | 40 | $config['vfs_storage_mode'] = 'db'; |
| 36 | 41 | } |
| 42 | + } |
|
| 37 | 43 | else |
| 38 | 44 | { |
| 39 | 45 | $config['vfs_storage_mode'] = 'custom'; |
@@ -45,11 +51,14 @@ discard block |
||
| 45 | 51 | 'custom' => lang('Custom set via %1','filemanager/cli.php mount'), |
| 46 | 52 | ) as $name => $label) |
| 47 | 53 | { |
| 48 | - if ($name != 'custom' || $name === $config['vfs_storage_mode']) // dont show custom, if not custom |
|
| 54 | + if ($name != 'custom' || $name === $config['vfs_storage_mode']) |
|
| 55 | + { |
|
| 56 | + // dont show custom, if not custom |
|
| 49 | 57 | { |
| 50 | 58 | $options .= '<option value="'.$name.($name === $config['vfs_storage_mode'] ? '" selected="selected' : ''). |
| 51 | 59 | '">'.htmlspecialchars($label)."</options>\n"; |
| 52 | 60 | } |
| 61 | + } |
|
| 53 | 62 | } |
| 54 | 63 | //echo "<pre>".htmlspecialchars($options)."</pre>\n"; |
| 55 | 64 | return $options; |
@@ -56,11 +56,18 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | function exec($check_only=false) |
| 58 | 58 | { |
| 59 | - if ($this->remote_id && $check_only) return true; // cant check for the remote site locally! |
|
| 59 | + if ($this->remote_id && $check_only) |
|
| 60 | + { |
|
| 61 | + return true; |
|
| 62 | + } |
|
| 63 | + // cant check for the remote site locally! |
|
| 60 | 64 | |
| 61 | 65 | $this->_check_header_access(); |
| 62 | 66 | |
| 63 | - if ($check_only) return true; |
|
| 67 | + if ($check_only) |
|
| 68 | + { |
|
| 69 | + return true; |
|
| 70 | + } |
|
| 64 | 71 | |
| 65 | 72 | $egw_info_backup = $GLOBALS['egw_info']; |
| 66 | 73 | $GLOBALS['egw_info'] = array ( |
@@ -92,7 +99,10 @@ discard block |
||
| 92 | 99 | $data['remote_hash'] = admin_cmd::remote_hash($data['install_id'],$data['config_passwd']); |
| 93 | 100 | } |
| 94 | 101 | catch(Exception $e) { |
| 95 | - if ($data['install_id']) $data['error'] .= $e->getMessage(); |
|
| 102 | + if ($data['install_id']) |
|
| 103 | + { |
|
| 104 | + $data['error'] .= $e->getMessage(); |
|
| 105 | + } |
|
| 96 | 106 | } |
| 97 | 107 | if ($this->hash_only) |
| 98 | 108 | { |
@@ -70,7 +70,10 @@ discard block |
||
| 70 | 70 | { |
| 71 | 71 | return lang('No update necessary, domain %1(%2) is up to date.',$this->domain,$GLOBALS['egw_domain'][$this->domain]['db_type']); |
| 72 | 72 | } |
| 73 | - if ($check_only) return lang('Update necessary.'); |
|
| 73 | + if ($check_only) |
|
| 74 | + { |
|
| 75 | + return lang('Update necessary.'); |
|
| 76 | + } |
|
| 74 | 77 | |
| 75 | 78 | $setup_info = self::$egw_setup->detection->upgrade_exclude($setup_info); |
| 76 | 79 | |
@@ -119,7 +122,10 @@ discard block |
||
| 119 | 122 | } |
| 120 | 123 | $messages = ob_get_contents(); |
| 121 | 124 | ob_end_clean(); |
| 122 | - if ($messages && $this->verbose) echo strip_tags($messages)."\n"; |
|
| 125 | + if ($messages && $this->verbose) |
|
| 126 | + { |
|
| 127 | + echo strip_tags($messages)."\n"; |
|
| 128 | + } |
|
| 123 | 129 | |
| 124 | 130 | $this->restore_db(); |
| 125 | 131 | |
@@ -76,8 +76,14 @@ |
||
| 76 | 76 | } |
| 77 | 77 | $this->check_installed($this->domain,15); |
| 78 | 78 | |
| 79 | - if (!$this->admin_firstname) $this->set_defaults['admin_firstname'] = $this->admin_firstname = lang('Admin'); |
|
| 80 | - if (!$this->admin_lastname) $this->set_defaults['admin_lastname'] = $this->admin_lastname = lang('User'); |
|
| 79 | + if (!$this->admin_firstname) |
|
| 80 | + { |
|
| 81 | + $this->set_defaults['admin_firstname'] = $this->admin_firstname = lang('Admin'); |
|
| 82 | + } |
|
| 83 | + if (!$this->admin_lastname) |
|
| 84 | + { |
|
| 85 | + $this->set_defaults['admin_lastname'] = $this->admin_lastname = lang('User'); |
|
| 86 | + } |
|
| 81 | 87 | if (strpos($this->admin_email,'$') !== false) |
| 82 | 88 | { |
| 83 | 89 | $this->set_defaults['email'] = $this->admin_email = str_replace( |
@@ -30,14 +30,20 @@ discard block |
||
| 30 | 30 | include('../header.inc.php'); |
| 31 | 31 | } |
| 32 | 32 | // for an old header we need to setup a reference for the domains |
| 33 | -if (!is_array($GLOBALS['egw_domain'])) $GLOBALS['egw_domain'] =& $GLOBALS['phpgw_domain']; |
|
| 33 | +if (!is_array($GLOBALS['egw_domain'])) |
|
| 34 | +{ |
|
| 35 | + $GLOBALS['egw_domain'] =& $GLOBALS['phpgw_domain']; |
|
| 36 | +} |
|
| 34 | 37 | |
| 35 | 38 | /* If we included the header.inc.php, but it is somehow broken, cover ourselves... */ |
| 36 | 39 | if(!defined('EGW_SERVER_ROOT') && !defined('EGW_INCLUDE_ROOT')) |
| 37 | 40 | { |
| 38 | - if (defined('PHPGW_SERVER_ROOT') && defined('PHPGW_INCLUDE_ROOT')) // pre 1.2 install |
|
| 41 | + if (defined('PHPGW_SERVER_ROOT') && defined('PHPGW_INCLUDE_ROOT')) |
|
| 42 | + { |
|
| 43 | + // pre 1.2 install |
|
| 39 | 44 | { |
| 40 | 45 | define('EGW_SERVER_ROOT',PHPGW_SERVER_ROOT); |
| 46 | + } |
|
| 41 | 47 | define('EGW_INCLUDE_ROOT',PHPGW_INCLUDE_ROOT); |
| 42 | 48 | } |
| 43 | 49 | else // no install |
@@ -84,7 +90,10 @@ discard block |
||
| 84 | 90 | |
| 85 | 91 | if (!function_exists('version_compare') || version_compare(PHP_VERSION,$GLOBALS['egw_setup']->required_php_version,'<')) |
| 86 | 92 | { |
| 87 | - if (isset($_SERVER['HTTP_HOST'])) echo "<pre>\n"; |
|
| 93 | + if (isset($_SERVER['HTTP_HOST'])) |
|
| 94 | + { |
|
| 95 | + echo "<pre>\n"; |
|
| 96 | + } |
|
| 88 | 97 | echo "EGroupware now requires PHP {$GLOBALS['egw_setup']->required_php_version} or greater.\nYour PHP version is: ".PHP_VERSION."\n"; |
| 89 | 98 | echo 'Please contact your System Administrator.'; |
| 90 | 99 | exit; |
@@ -199,5 +199,8 @@ |
||
| 199 | 199 | { |
| 200 | 200 | $filter =& $settings['ldap_search_filter']; |
| 201 | 201 | |
| 202 | - if ($filter && $filter{0} != '(') $filter = '('.$filter.')'; |
|
| 203 | -} |
|
| 202 | + if ($filter && $filter{0} != '(') |
|
| 203 | + { |
|
| 204 | + $filter = '('.$filter.')'; |
|
| 205 | + } |
|
| 206 | + } |
|
@@ -113,8 +113,14 @@ |
||
| 113 | 113 | self::$egw_setup->db->Link_ID->SetCharSet($this->charset); |
| 114 | 114 | $_POST['ConfigLang'] = $this->lang; |
| 115 | 115 | |
| 116 | - if ($this->verbose) echo lang('Installation started, this might take a few minutes ...')."\n"; |
|
| 117 | - if (true) $setup_info = self::$egw_setup->process->pass($setup_info,'new',false,True,$this->config); |
|
| 116 | + if ($this->verbose) |
|
| 117 | + { |
|
| 118 | + echo lang('Installation started, this might take a few minutes ...')."\n"; |
|
| 119 | + } |
|
| 120 | + if (true) |
|
| 121 | + { |
|
| 122 | + $setup_info = self::$egw_setup->process->pass($setup_info,'new',false,True,$this->config); |
|
| 123 | + } |
|
| 118 | 124 | |
| 119 | 125 | $this->restore_db(); |
| 120 | 126 | |
@@ -108,7 +108,9 @@ discard block |
||
| 108 | 108 | while($pass_string != $passing_string) |
| 109 | 109 | { |
| 110 | 110 | $passing = array(); |
| 111 | - if($DEBUG) { echo '<br>process->pass(): #' . $i . ' for ' . $method . ' processing' . "\n"; } |
|
| 111 | + if($DEBUG) |
|
| 112 | + { |
|
| 113 | +echo '<br>process->pass(): #' . $i . ' for ' . $method . ' processing' . "\n"; } |
|
| 112 | 114 | |
| 113 | 115 | // Check current versions and dependencies |
| 114 | 116 | $setup_info = $GLOBALS['egw_setup']->detection->check_depends( |
@@ -143,7 +145,10 @@ discard block |
||
| 143 | 145 | } |
| 144 | 146 | /* Create tables and insert new records for each app in this list */ |
| 145 | 147 | $passing_c = $this->current($pass,$DEBUG); |
| 146 | - if (isset($pass['api'])) $this->save_minimal_config($preset_config); |
|
| 148 | + if (isset($pass['api'])) |
|
| 149 | + { |
|
| 150 | + $this->save_minimal_config($preset_config); |
|
| 151 | + } |
|
| 147 | 152 | $passing = $this->default_records($passing_c,$DEBUG); |
| 148 | 153 | break; |
| 149 | 154 | case 'upgrade': |
@@ -162,29 +167,40 @@ discard block |
||
| 162 | 167 | if($value['status'] == 'C') |
| 163 | 168 | { |
| 164 | 169 | $passed[$value['name']] = $passing[$value['name']]; |
| 165 | - if($DEBUG) { echo '<br>process->pass(): '.$passed[$value['name']]['name'] . ' install completed'."\n"; } |
|
| 170 | + if($DEBUG) |
|
| 171 | + { |
|
| 172 | +echo '<br>process->pass(): '.$passed[$value['name']]['name'] . ' install completed'."\n"; } |
|
| 166 | 173 | } |
| 167 | 174 | elseif($value['status'] == 'F') |
| 168 | 175 | { |
| 169 | 176 | $setup_info[$value['name']] = $passing[$value['name']]; |
| 170 | - if($DEBUG) { echo '<br>process->pass(): '.$setup_info[$value['name']]['name'] . ' install failed'."\n"; } |
|
| 177 | + if($DEBUG) |
|
| 178 | + { |
|
| 179 | +echo '<br>process->pass(): '.$setup_info[$value['name']]['name'] . ' install failed'."\n"; } |
|
| 171 | 180 | } |
| 172 | 181 | elseif($value['status'] == 'D') |
| 173 | 182 | { |
| 174 | 183 | $pass[$value['name']] = $setup_info[$value['name']]; |
| 175 | - if($DEBUG) { echo '<br>process->pass(): '.$pass[$value['name']]['name'] . ' fails dependency check on this pass'."\n"; } |
|
| 184 | + if($DEBUG) |
|
| 185 | + { |
|
| 186 | +echo '<br>process->pass(): '.$pass[$value['name']]['name'] . ' fails dependency check on this pass'."\n"; } |
|
| 176 | 187 | } |
| 177 | 188 | else |
| 178 | 189 | { |
| 179 | 190 | $tmp = $passing[$value['name']]['name']; |
| 180 | - if($DEBUG) { echo '<br>process->pass(): '.$tmp . ' skipped on this pass'."\n"; } |
|
| 191 | + if($DEBUG) |
|
| 192 | + { |
|
| 193 | +echo '<br>process->pass(): '.$tmp . ' skipped on this pass'."\n"; } |
|
| 181 | 194 | } |
| 182 | 195 | } |
| 183 | 196 | |
| 184 | 197 | $i++; |
| 185 | - if($i == 20) /* Then oops it broke */ |
|
| 198 | + if($i == 20) |
|
| 199 | + { |
|
| 200 | + /* Then oops it broke */ |
|
| 186 | 201 | { |
| 187 | 202 | echo '<br>Setup failure: excess looping in process->pass():'."\n"; |
| 203 | + } |
|
| 188 | 204 | echo '<br>Pass:<br>'."\n"; |
| 189 | 205 | _debug_array($pass); |
| 190 | 206 | echo '<br>Passed:<br>'."\n"; |
@@ -376,7 +392,9 @@ discard block |
||
| 376 | 392 | //echo $table; |
| 377 | 393 | if(in_array($table,$tables)) |
| 378 | 394 | { |
| 379 | - if($DEBUG){ echo '<br>process->droptables(): Dropping :'. $app_name . ' table: ' . $table; } |
|
| 395 | + if($DEBUG) |
|
| 396 | + { |
|
| 397 | +echo '<br>process->droptables(): Dropping :'. $app_name . ' table: ' . $table; } |
|
| 380 | 398 | $GLOBALS['egw_setup']->oProc->DropTable($table); |
| 381 | 399 | // Update the array values for return below |
| 382 | 400 | $setup_info[$app_name]['status'] = 'U'; |
@@ -408,13 +426,17 @@ discard block |
||
| 408 | 426 | $enabled = False; |
| 409 | 427 | $apptitle = $appdata['title']; |
| 410 | 428 | |
| 411 | - if($DEBUG) { echo '<br>process->current(): Incoming status: ' . $appname . ',status: '. $appdata['status']; } |
|
| 429 | + if($DEBUG) |
|
| 430 | + { |
|
| 431 | +echo '<br>process->current(): Incoming status: ' . $appname . ',status: '. $appdata['status']; } |
|
| 412 | 432 | |
| 413 | 433 | $appdir = EGW_SERVER_ROOT . '/' . $appname . '/setup/'; |
| 414 | 434 | |
| 415 | 435 | if($appdata['tables'] && file_exists($appdir.'tables_current.inc.php')) |
| 416 | 436 | { |
| 417 | - if($DEBUG) { echo '<br>process->current(): Including: ' . $appdir.'tables_current.inc.php'; } |
|
| 437 | + if($DEBUG) |
|
| 438 | + { |
|
| 439 | +echo '<br>process->current(): Including: ' . $appdir.'tables_current.inc.php'; } |
|
| 418 | 440 | $phpgw_baseline = null; |
| 419 | 441 | include ($appdir.'tables_current.inc.php'); |
| 420 | 442 | $ret = $this->post_process($phpgw_baseline,$DEBUG); |
@@ -435,13 +457,17 @@ discard block |
||
| 435 | 457 | else |
| 436 | 458 | { |
| 437 | 459 | /* script processing failed */ |
| 438 | - if($DEBUG) { echo '<br>process->current(): Failed for ' . $appname . ',status: '. $appdata['status']; } |
|
| 460 | + if($DEBUG) |
|
| 461 | + { |
|
| 462 | +echo '<br>process->current(): Failed for ' . $appname . ',status: '. $appdata['status']; } |
|
| 439 | 463 | $appdata['status'] = 'F'; |
| 440 | 464 | } |
| 441 | 465 | } |
| 442 | 466 | else |
| 443 | 467 | { |
| 444 | - if($DEBUG) { echo '<br>process->current(): No current tables for ' . $apptitle . "\n"; } |
|
| 468 | + if($DEBUG) |
|
| 469 | + { |
|
| 470 | +echo '<br>process->current(): No current tables for ' . $apptitle . "\n"; } |
|
| 445 | 471 | /* |
| 446 | 472 | Add the app, but disable it if it has tables defined. |
| 447 | 473 | A manual sql script install is needed, but we do add the hooks |
@@ -462,7 +488,9 @@ discard block |
||
| 462 | 488 | } |
| 463 | 489 | $appdata['status'] = 'C'; |
| 464 | 490 | } |
| 465 | - if($DEBUG) { echo '<br>process->current(): Outgoing status: ' . $appname . ',status: '. $appdata['status']; } |
|
| 491 | + if($DEBUG) |
|
| 492 | + { |
|
| 493 | +echo '<br>process->current(): Outgoing status: ' . $appname . ',status: '. $appdata['status']; } |
|
| 466 | 494 | } |
| 467 | 495 | |
| 468 | 496 | // update hooks |
@@ -638,9 +666,12 @@ discard block |
||
| 638 | 666 | { |
| 639 | 667 | echo '<div style="text-align: left; border: thin dashed black; margin-top: 5px;">'."process->upgrade(): Incoming : appname: $appname, version: $appdata[currentver], status: $appdata[status]\n"; |
| 640 | 668 | } |
| 641 | - if($appdata['status'] == 'U' || $appdata['status'] == 'D' ||$appdata['status'] == 'V' || $appdata['status'] == '') // TODO this is not getting set for api upgrade, sometimes ??? |
|
| 669 | + if($appdata['status'] == 'U' || $appdata['status'] == 'D' ||$appdata['status'] == 'V' || $appdata['status'] == '') |
|
| 670 | + { |
|
| 671 | + // TODO this is not getting set for api upgrade, sometimes ??? |
|
| 642 | 672 | { |
| 643 | 673 | $currentver = $appdata['currentver']; |
| 674 | + } |
|
| 644 | 675 | $targetver = $appdata['version']; // The version we need to match when done |
| 645 | 676 | $appdir = EGW_SERVER_ROOT . '/' . $appname . '/setup/'; |
| 646 | 677 | |
@@ -674,11 +705,14 @@ discard block |
||
| 674 | 705 | } |
| 675 | 706 | } |
| 676 | 707 | } |
| 677 | - if ($currentver == $targetver) // upgrades succesful |
|
| 708 | + if ($currentver == $targetver) |
|
| 709 | + { |
|
| 710 | + // upgrades succesful |
|
| 678 | 711 | { |
| 679 | 712 | if($DEBUG) |
| 680 | 713 | { |
| 681 | 714 | echo "<br>process->upgrade(): Upgrade of $appname to $targetver is completed.\n"; |
| 715 | + } |
|
| 682 | 716 | } |
| 683 | 717 | $appstatus = 'C'; |
| 684 | 718 | } |
@@ -700,9 +734,12 @@ discard block |
||
| 700 | 734 | } |
| 701 | 735 | $appstatus = 'C'; |
| 702 | 736 | } |
| 703 | - if ($appstatus == 'C') // update successful completed |
|
| 737 | + if ($appstatus == 'C') |
|
| 738 | + { |
|
| 739 | + // update successful completed |
|
| 704 | 740 | { |
| 705 | 741 | $appdata['currentver'] = $targetver; |
| 742 | + } |
|
| 706 | 743 | |
| 707 | 744 | if($GLOBALS['egw_setup']->app_registered($appname)) |
| 708 | 745 | { |