mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 15:00:07 +01:00
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
|
$this->db->query("delete from phpgw_preferences where preference_owner='" . $this->account_id
|
||||||
. "'",__LINE__,__FILE__);
|
. "'",__LINE__,__FILE__);
|
||||||
|
|
||||||
if ($PHP_VERSION < "4.0.0")
|
if (phpversion() < "4.0.0")
|
||||||
{
|
{
|
||||||
$pref_info = addslashes(serialize($this->data));
|
$pref_info = addslashes(serialize($this->data));
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
// Delete all records for a user
|
// Delete all records for a user
|
||||||
if (floor($PHP_VERSION ) == 4)
|
if (floor(phpversion()) == 4)
|
||||||
{
|
{
|
||||||
global $phpgw, $account_id;
|
global $phpgw, $account_id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user