From: Alexander Smirnov Date: Thu, 13 Jun 2024 09:48:09 +0000 (+0300) Subject: remove comment X-Git-Tag: 1.2^2~2^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=def1818bb885cc4dd1e9f033056ebe2d828d72c0;p=erp24_rep%2Fyii-erp24%2F.git remove comment --- diff --git a/erp24/services/PromocodeService.php b/erp24/services/PromocodeService.php index aa88f667..fa3fd618 100644 --- a/erp24/services/PromocodeService.php +++ b/erp24/services/PromocodeService.php @@ -8,9 +8,6 @@ use yii_app\records\Promocode; class PromocodeService { private static function generateThreeNums() { -// $chars = "ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ"; -// return mb_substr($chars, rand() % mb_strlen($chars), 1) . -// mb_substr($chars, rand() % mb_strlen($chars), 1); return (rand() % 10) . (rand() % 10) . (rand() % 10); }