forked from extern/egroupware
patched up php3 compatibility (again)
This commit is contained in:
parent
982e6fe653
commit
2d97b29cfa
@ -154,7 +154,7 @@
|
||||
'account_lastname' => $this->db->f('account_lastname'),
|
||||
'account_status' => $this->db->f('account_status'),
|
||||
'account_expires' => $this->db->f('account_expires'),
|
||||
'account_file_space' => $this->db->f('account_file_space'),
|
||||
'account_file_space' => $this->db->f('account_file_space')
|
||||
);
|
||||
}
|
||||
return $accounts;
|
||||
@ -250,7 +250,7 @@
|
||||
'account_lastname' => '',
|
||||
'account_status' => $account_status,
|
||||
'account_expires' => mktime(2,0,0,date('n',$expiredate), intval(date('d',$expiredate)), date('Y',$expiredate)),
|
||||
'account_file_space' => $phpgw_info['server']['vfs_default_account_size_number'] . "-" . $phpgw_info['server']['vfs_default_account_size_type'],
|
||||
'account_file_space' => $phpgw_info['server']['vfs_default_account_size_number'] . "-" . $phpgw_info['server']['vfs_default_account_size_type']
|
||||
);
|
||||
$this->create($acct_info);
|
||||
$accountid = $this->name2id($accountname);
|
||||
|
@ -473,7 +473,7 @@
|
||||
|
||||
function show_hits($total_records = '',$start)
|
||||
{
|
||||
global $phpgw_info, $start;
|
||||
global $phpgw_info;
|
||||
|
||||
$limit = $this->maxmatchs;
|
||||
|
||||
|
@ -155,7 +155,8 @@
|
||||
global $debugme;
|
||||
if (isset($debugme) && $debugme == 'on') { echo 'debug: '.$text.'<br>'; }
|
||||
}
|
||||
print_debug('core functions are done');
|
||||
|
||||
// print_debug('core functions are done');
|
||||
/****************************************************************************\
|
||||
* Quick verification of sane environment *
|
||||
\****************************************************************************/
|
||||
|
@ -64,7 +64,7 @@
|
||||
'account_status' => array('type' => 'char', 'precision' => 1, 'nullable' => false, 'default' => 'A'),
|
||||
'account_expires' => array('type' => 'int', 'precision' => 4),
|
||||
'account_type' => array('type' => 'char', 'precision' => 1, 'nullable' => true),
|
||||
'account_file_space' => array('type' => 'varchar', 'precision' => 25),
|
||||
'account_file_space' => array('type' => 'varchar', 'precision' => 25)
|
||||
),
|
||||
'pk' => array('account_id'),
|
||||
'fk' => array(),
|
||||
|
Loading…
Reference in New Issue
Block a user