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 *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
/* $Id$ */
|
||||
|
||||
// Delete all records for a user
|
||||
if (floor(phpversion()) == 4)
|
||||
{
|
||||
global $phpgw, $account_id;
|
||||
}
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
// Delete all records for a user
|
||||
$table_locks = Array('phpgw_preferences');
|
||||
$phpgw->db->lock($table_locks);
|
||||
$phpgw->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$account_id,__LINE__,__FILE__);
|
||||
$phpgw->db->unlock();
|
||||
|
||||
$GLOBALS['phpgw']->db->lock($table_locks);
|
||||
$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$account_id,__LINE__,__FILE__);
|
||||
$GLOBALS['phpgw']->db->unlock();
|
||||
?>
|
||||
|
@ -12,11 +12,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
function country_set($config)
|
||||
{
|
||||
global $phpgw;
|
||||
|
||||
$country = array(
|
||||
'user_choice' => 'Users Choice',
|
||||
'force_select' => 'Force Selectbox'
|
||||
@ -38,5 +35,4 @@
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user