Skip to content
Snippets Groups Projects
Commit bcaec2a4 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Suppression options inutiles

parent e2ca1c08
No related branches found
No related tags found
No related merge requests found
......@@ -29,13 +29,12 @@
* wget "http://materiel.net/partenaire/search.php3?format=xml&nobanner=1"
*/
$opt = getopt("f:u:i:");
$opt = getopt("f:u:");
$userid = $opt['u'];
$idfourn = $opt['i'];
$file = $opt['f'];
if (strlen(trim($file)) == 0 || strlen(trim($idfourn)) == 0 || strlen(trim($userid)) == 0)
if (strlen(trim($file)) == 0 || strlen(trim($userid)) == 0)
{
print "Usage :\n php import-product.php -f <filename> -i <id_fournisseur> -u <userid>\n";
exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment