Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_glpiPrinterCartridges.inc
index 672f324af87390353837d5facdfe1f89e7ff30ca..3d9d6301001a0e5dbe7b8ff89567c44aa178f7ed 100644 (file)
@@ -23,7 +23,7 @@ class glpiPrinterCartridges extends plugin
   var $del              = 0;
 
 
-  function glpiPrinterCartridges ($config,$dn,$type)
+  function glpiPrinterCartridges (&$config,$dn,$type)
   {
     plugin::plugin ($config, $dn);
 
@@ -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();