Skip to content

Commit a7eadd6

Browse files
committed
Merge branch 'master' of github.com:boxwise/dropapp into production
2 parents f8f8b3d + 4c0594b commit a7eadd6

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Phinx\Migration\AbstractMigration;
6+
7+
final class NewManageTagsMenu extends AbstractMigration
8+
{
9+
public function up(): void
10+
{
11+
$this->execute("
12+
UPDATE `cms_functions` SET `title_en` = 'Manage Tags v2', `include` = 'new_manage_tags' WHERE `id` = '162';
13+
");
14+
}
15+
16+
public function down(): void
17+
{
18+
$this->execute("
19+
UPDATE `cms_functions` SET `title_en` = 'Manage Tags', `include` = 'tags' WHERE `id` = '162';
20+
");
21+
}
22+
}

include/new_manage_tags.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
redirect($settings['v2_base_url'].'/bases/'.$_SESSION['camp']['id'].'/tags');

library/constants.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@
337337
[
338338
'id' => 162,
339339
'module' => 'Beneficiaries',
340-
'menu' => 'Manage tags',
341-
'action' => 'tags',
340+
'menu' => 'Manage Tags v2',
341+
'action' => 'new_manage_tags',
342342
'adminonly' => '0',
343343
'visible' => '1',
344344
'allusers' => '0',

0 commit comments

Comments
 (0)