mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:18:55 +01:00
Change usage of deprecated CreateObject() to autoloadable class names
This commit is contained in:
parent
a4c891e702
commit
b3a3ba39e2
@ -766,7 +766,7 @@ class calendar_uiforms extends calendar_ui
|
||||
calendar_so::split_status($status,$q,$r);
|
||||
if ($uid[0] != 'c' && $uid[0] != 'e' && $uid != $this->bo->user && $status != 'U')
|
||||
{
|
||||
$preferences = CreateObject('phpgwapi.preferences',$uid);
|
||||
$preferences = new Preferences($uid);
|
||||
$part_prefs = $preferences->read_repository();
|
||||
switch ($part_prefs['calendar']['reset_stati'])
|
||||
{
|
||||
@ -2773,7 +2773,7 @@ class calendar_uiforms extends calendar_ui
|
||||
calendar_so::split_status($status,$q,$r);
|
||||
if ($uid[0] != 'c' && $uid[0] != 'e' && $uid != $this->bo->user && $status != 'U')
|
||||
{
|
||||
$preferences = CreateObject('phpgwapi.preferences',$uid);
|
||||
$preferences = new Preferenes($uid);
|
||||
$part_prefs = $preferences->read_repository();
|
||||
switch ($part_prefs['calendar']['reset_stati'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user