]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
remove comment
authorAlexander Smirnov <fredeom@mail.ru>
Thu, 13 Jun 2024 09:48:09 +0000 (12:48 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Thu, 13 Jun 2024 09:48:09 +0000 (12:48 +0300)
erp24/services/PromocodeService.php

index aa88f667076b762f321c5d19069a7a04e16541e2..fa3fd61810dc09b28aae6c9657340717d29a9d44 100644 (file)
@@ -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);
     }