diff --git a/htdocs/core/modules/printing/printgcp.modules.php b/htdocs/core/modules/printing/printgcp.modules.php index 7041e112811..b9cc1aa0b37 100644 --- a/htdocs/core/modules/printing/printgcp.modules.php +++ b/htdocs/core/modules/printing/printgcp.modules.php @@ -130,7 +130,7 @@ class printing_printgcp extends PrintingDriver * * @return array list of printers */ - public function get_printer_detail() + function get_printer_detail() { // Check if we have auth token if(empty($this->authtoken)) { @@ -159,10 +159,10 @@ class printing_printgcp extends PrintingDriver * * @param string $file file * @param string $module module - * + * @param string $subdir subdir for file * @return string '' if OK, Error message if KO */ - public function print_file($file, $module, $subdir='') + function print_file($file, $module, $subdir='') { global $conf; if ($this->authtoken=='') { @@ -256,8 +256,8 @@ class printing_printgcp extends PrintingDriver } /** - * * Parse json response and return printers array + * * @param string $jsonobj Json response object * @return array return array of printers */ @@ -298,10 +298,10 @@ class printing_printgcp extends PrintingDriver /** * Curl request * - * @param string $url url to hit - * @param array $postfields array of post fields - * @param array $headers array of http headers - * @return + * @param string $url url to hit + * @param array $postfields array of post fields + * @param array $headers array of http headers + * @return array response from curl */ private function makeCurl($url,$postfields=array(),$headers=array()) { diff --git a/htdocs/install/mysql/tables/llx_printing.sql b/htdocs/install/mysql/tables/llx_printing.sql index 3da96b1e6b8..451564ff74b 100644 --- a/htdocs/install/mysql/tables/llx_printing.sql +++ b/htdocs/install/mysql/tables/llx_printing.sql @@ -1,5 +1,6 @@ -- ============================================================================ --- Copyright (C) 2014 Frederic France +-- Copyright (C) 2013 Florian HENRY +-- Copyright (C) 2014 Frederic France -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by