Skip to content

Commit

Permalink
Merge pull request #140 from FriendsOfREDAXO/beta3
Browse files Browse the repository at this point in the history
Plugin löschen beim Update
  • Loading branch information
christophboecker authored Apr 2, 2024
2 parents df68de2 + 895948d commit 1c74b09
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# MarkItUp Changelog

## 3.8.0-beta3 – 02.04.2024

### Features (zusätzlich zu beta1)

### Bugfix

- Plugin beim Update löschen

## 3.8.0-beta2 – 29.02.2024

### Features (zusätzlich zu beta1)
Expand Down
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: markitup
version: '3.8.0-beta2'
version: '3.8.0-beta3'
author: Friends Of REDAXO
supportpage: github.com/FriendsOfREDAXO/markitup

Expand Down
5 changes: 5 additions & 0 deletions update.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
namespace FriendsOfRedaxo\MarkItUp;

use rex;
use rex_dir;
use rex_path;
use rex_sql_column;
use rex_sql_table;

Expand All @@ -29,6 +31,9 @@
->ensureColumn(new rex_sql_column('content', 'text'))
->ensure();

// das ggf. noch vorhandene alte Plugin-Verzeichnis löschen
rex_dir::delete(rex_path::plugin('markitup', 'documentation'));

// Profilbezogenes JS|CSS neu generieren
include __DIR__ . '/lib/Cache.php';
echo Cache::update();

0 comments on commit 1c74b09

Please sign in to comment.