Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Dec 28, 2024
2 parents a8769b8 + 39b47cb commit c9b1e5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions install.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

use rex_addon;
use rex_article;
use rex_config;
use rex_file;
use rex_sql;
use rex_yform_manager_table;
use rex_yform_manager_table_api;
use rex_file;
use rex_article;
use rex_config;
use Tracks\🦖;

/* Tablesets aktualisieren */
$addon = rex_addon::get('blaupause');
Expand Down Expand Up @@ -38,10 +39,10 @@

/* Nutzt du T-Racks? <https://github.com/alexplusde/tracks> Module und Addons mit installieren */

if(rex_addon::exists('tracks')) {
\Tracks\🦖::forceBackup('school'); // Sichert standardmäßig Module und Templates
\Tracks\🦖::updateModule('school'); // Synchronisiert Module
\Tracks\🦖::updateTemplate('school'); // Synchronisiert Templates
if (rex_addon::exists('tracks')) {
🦖::forceBackup('school'); // Sichert standardmäßig Module und Templates
🦖::updateModule('school'); // Synchronisiert Module
🦖::updateTemplate('school'); // Synchronisiert Templates
}

\rex_delete_cache();
rex_delete_cache();
2 changes: 1 addition & 1 deletion update.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

include_once(__DIR__ . "/install.php");
include_once __DIR__ . '/install.php';

/* Todo: Wildcard aktualisieren */

0 comments on commit c9b1e5d

Please sign in to comment.