From: hickert Date: Fri, 21 Sep 2007 06:07:48 +0000 (+0000) Subject: Fixed several class definition warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca54158469ad624db47e1bd6ae9d65654ee1d593;p=gosa.git Fixed several class definition warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7363 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/godfs/class_dfsgeneric.inc b/plugins/addons/godfs/class_dfsgeneric.inc index b8c3f4da6..c3941b5f8 100644 --- a/plugins/addons/godfs/class_dfsgeneric.inc +++ b/plugins/addons/godfs/class_dfsgeneric.inc @@ -76,7 +76,8 @@ #, dirname(__FILE__)))); } - function check() { + function check() + { plugin::check(); $message = array(); diff --git a/plugins/addons/godfs/tabs_dfs.inc b/plugins/addons/godfs/tabs_dfs.inc index 026f55aeb..ef5950ebe 100644 --- a/plugins/addons/godfs/tabs_dfs.inc +++ b/plugins/addons/godfs/tabs_dfs.inc @@ -19,7 +19,7 @@ class dfstabs extends tabs { - function check() { + function check($ignore_account= FALSE) { return (tabs::check(TRUE)); } diff --git a/plugins/addons/gotomasses/class_goto_task.inc b/plugins/addons/gotomasses/class_goto_task.inc index 589fefe88..27684b094 100644 --- a/plugins/addons/gotomasses/class_goto_task.inc +++ b/plugins/addons/gotomasses/class_goto_task.inc @@ -340,9 +340,9 @@ class goto_task extends plugin /* Map acl function, to be able to use plugin::save_object() */ - function acl_is_writeable($str) + function acl_is_writeable($attribute,$skip_write = FALSE) { - return($this->parent->acl_is_writeable($str)); + return($this->parent->acl_is_writeable($attribute,$skip_write)); } diff --git a/plugins/admin/acl/tabs_acl.inc b/plugins/admin/acl/tabs_acl.inc index 0cbd1d798..db87979fa 100644 --- a/plugins/admin/acl/tabs_acl.inc +++ b/plugins/admin/acl/tabs_acl.inc @@ -48,7 +48,7 @@ class acltab extends tabs return $ret; } - function save_object() + function save_object($ignore_account= FALSE) { tabs::save_object(); } diff --git a/plugins/admin/acl/tabs_acl_role.inc b/plugins/admin/acl/tabs_acl_role.inc index a4a08dcde..b1132357d 100644 --- a/plugins/admin/acl/tabs_acl_role.inc +++ b/plugins/admin/acl/tabs_acl_role.inc @@ -38,7 +38,7 @@ class aclroletab extends tabs return $ret; } - function save_object() + function save_object($ignore_account= FALSE) { tabs::save_object(); } diff --git a/plugins/admin/departments/tabs_department.inc b/plugins/admin/departments/tabs_department.inc index 68118b318..cf04bd29b 100644 --- a/plugins/admin/departments/tabs_department.inc +++ b/plugins/admin/departments/tabs_department.inc @@ -13,7 +13,7 @@ class deptabs extends tabs $this->addSpecialTabs(); } - function check() + function check($ignore_account= FALSE) { return (tabs::check(TRUE)); } diff --git a/plugins/admin/ogroups/tabs_ogroups.inc b/plugins/admin/ogroups/tabs_ogroups.inc index 970adbcb1..b87ff78f6 100644 --- a/plugins/admin/ogroups/tabs_ogroups.inc +++ b/plugins/admin/ogroups/tabs_ogroups.inc @@ -230,7 +230,7 @@ class ogrouptabs extends tabs } - function check() + function check($ignore_account= FALSE) { return (tabs::check(FALSE)); } diff --git a/plugins/admin/systems/class_glpiPrinterCartridges.inc b/plugins/admin/systems/class_glpiPrinterCartridges.inc index 85e0805c6..3d9d63010 100644 --- a/plugins/admin/systems/class_glpiPrinterCartridges.inc +++ b/plugins/admin/systems/class_glpiPrinterCartridges.inc @@ -278,7 +278,7 @@ class glpiPrinterCartridges extends plugin /* This function cehck all created devices if you wan't to create device specific check use >>if($attr['device_type']=="moboard")<< to create a device type depending check */ - function check($attr) + function check() { /* Call common method to give check the hook */ $message= plugin::check(); diff --git a/plugins/gofon/conference/tabs_conference.inc b/plugins/gofon/conference/tabs_conference.inc index 438b349f6..5b58065ee 100644 --- a/plugins/gofon/conference/tabs_conference.inc +++ b/plugins/gofon/conference/tabs_conference.inc @@ -13,7 +13,7 @@ class conferencetabs extends tabs $this->addSpecialTabs(); } - function check() + function check($ignore_account= FALSE) { return (tabs::check(TRUE)); }