forked from extern/egroupware
globals
This commit is contained in:
parent
044c98c83a
commit
b78953097a
@ -9,16 +9,13 @@
|
|||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
// Delete all records for a user
|
// Delete all records for a user
|
||||||
if (floor(phpversion()) == 4)
|
|
||||||
{
|
|
||||||
global $phpgw, $account_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
$table_locks = Array('phpgw_preferences');
|
$table_locks = Array('phpgw_preferences');
|
||||||
$phpgw->db->lock($table_locks);
|
|
||||||
$phpgw->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$account_id,__LINE__,__FILE__);
|
$GLOBALS['phpgw']->db->lock($table_locks);
|
||||||
$phpgw->db->unlock();
|
$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$account_id,__LINE__,__FILE__);
|
||||||
|
$GLOBALS['phpgw']->db->unlock();
|
||||||
?>
|
?>
|
||||||
|
@ -12,11 +12,8 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
|
|
||||||
function country_set($config)
|
function country_set($config)
|
||||||
{
|
{
|
||||||
global $phpgw;
|
|
||||||
|
|
||||||
$country = array(
|
$country = array(
|
||||||
'user_choice' => 'Users Choice',
|
'user_choice' => 'Users Choice',
|
||||||
'force_select' => 'Force Selectbox'
|
'force_select' => 'Force Selectbox'
|
||||||
@ -38,5 +35,4 @@
|
|||||||
}
|
}
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user