mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
use str_replace() where possible
This commit is contained in:
parent
07af3f1b54
commit
6f2f6d23dc
@ -111,7 +111,7 @@
|
||||
*/
|
||||
}
|
||||
|
||||
switch ($method)
|
||||
switch($method)
|
||||
{
|
||||
case 'new':
|
||||
/* Create tables and insert new records for each app in this list */
|
||||
@ -623,7 +623,7 @@
|
||||
$currentver = $setup_info[$key]['currentver'];
|
||||
|
||||
/* build upgrade function name */
|
||||
$function = $appname . '_upgrade' . ereg_replace("\.", '_', $value);
|
||||
$function = $appname . '_upgrade' . str_replace("\.", '_', $value);
|
||||
|
||||
if($DEBUG)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user