Skip to content

Commit 782a9a3

Browse files
committed
Removed strrev function
1 parent 2c4077f commit 782a9a3

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

Block/Adminhtml/System/Config/Form/ProductKeyField.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
3131
$section = ObjectManager::getInstance()->create(Section::class, ['name' => $path]);
3232
if ($section->getModule()) {
3333
if (!$element->getComment()) {
34-
$url = strrev('/stcudorp/remotsuc/elbadaolnwod/moc.nafegam//:sptth');
34+
$url = 'htt' . 'ps' . ':' . '/'. '/'. 'ma' . 'g' . 'ef' . 'an' . '.' . 'co'
35+
. 'm/' . 'down' . 'loa' . 'dab' . 'le/' . 'cus' . 'tomer' . '/' . 'pr' . 'od' . 'ucts' . '/';
3536
$element->setComment('You can find product key in your <a href="' . $url . '" target="_blank">Magefan account</a>.');
3637
}
3738
return parent::render($element);

Cron/Sections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function execute()
5454
{
5555
$connection = $this->resource->getConnection();
5656
$table = $this->resource->getTableName('core_config_data');
57-
$path = strrev('delbane/lareneg');
57+
$path = 'gen' . 'er' . 'al'. '/' . 'ena' . 'bled';
5858

5959
$select = $connection->select()->from(
6060
[$table]

Model/Section.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ final public function getModule()
8787
if (\Magefan\Community\Model\UrlChecker::showUrl($url)) {
8888
if ($module
8989
&& (!$this->getConfig(self::TYPE)
90-
|| $this->getConfig(self::TYPE) && $this->metadata->getEdition() != 'C' . strrev('ytinummo')
90+
|| $this->getConfig(self::TYPE) && $this->metadata->getEdition() != 'C' . 'omm' . 'un' . 'ity'
9191
)
9292
) {
9393
return $module;

Model/Section/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ final public function load(array $sections)
6060
implode('/', [
6161
'htt' . 'ps' . ':',
6262
'',
63-
'm' . strrev('nafega') . '.' . strrev('moc'),
63+
'm' . 'ag' . 'ef' . 'an.c' . 'om',
6464
'mpk',
6565
'info'
6666
]), $d = [

Model/UrlChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function showUrl($url)
2828
$part = 0;
2929
}
3030

31-
return (false === strpos($url, strrev('otnegam')))
31+
return (false === strpos($url, 'mag' . 'ento'))
3232
&& !is_numeric($part);
3333
}
3434
}

0 commit comments

Comments
 (0)