From ca54158469ad624db47e1bd6ae9d65654ee1d593 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 21 Sep 2007 06:07:48 +0000 Subject: [PATCH] Fixed several class definition warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7363 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/godfs/class_dfsgeneric.inc | 3 ++- plugins/addons/godfs/tabs_dfs.inc | 2 +- plugins/addons/gotomasses/class_goto_task.inc | 4 ++-- plugins/admin/acl/tabs_acl.inc | 2 +- plugins/admin/acl/tabs_acl_role.inc | 2 +- plugins/admin/departments/tabs_department.inc | 2 +- plugins/admin/ogroups/tabs_ogroups.inc | 2 +- plugins/admin/systems/class_glpiPrinterCartridges.inc | 2 +- plugins/gofon/conference/tabs_conference.inc | 2 +- 9 files changed, 11 insertions(+), 10 deletions(-) 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)); } -- 2.30.2