forked from extern/egroupware
change to phpversion()
This commit is contained in:
parent
f79ab9c194
commit
9bf8708b25
@ -150,7 +150,7 @@
|
||||
$this->db->query("delete from phpgw_preferences where preference_owner='" . $this->account_id
|
||||
. "'",__LINE__,__FILE__);
|
||||
|
||||
if ($PHP_VERSION < "4.0.0")
|
||||
if (phpversion() < "4.0.0")
|
||||
{
|
||||
$pref_info = addslashes(serialize($this->data));
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
// Delete all records for a user
|
||||
if (floor($PHP_VERSION ) == 4)
|
||||
if (floor(phpversion()) == 4)
|
||||
{
|
||||
global $phpgw, $account_id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user