mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 01:12:33 +01:00
Fix PhanPluginRedundantAssignment
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* 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
|
||||
@@ -207,7 +208,7 @@ class CSMSFile
|
||||
// Send sms method not correctly defined
|
||||
// --------------------------------------
|
||||
$this->error = 'Bad value for MAIN_SMS_SENDMODE constant';
|
||||
$res = false;
|
||||
$res = false; // @phan-suppress-current-line PhanPluginRedundantAssignment
|
||||
}
|
||||
} else {
|
||||
$this->error = 'No sms sent. Feature is disabled by option MAIN_DISABLE_ALL_SMS';
|
||||
|
||||
Reference in New Issue
Block a user