Skip to content

Commit

Permalink
Update gut workflows/release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Nov 25, 2024
1 parent 0e5d802 commit 4c5854e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
# Sequence of patterns matched against refs/tags
tags:
- '*.*.*' # Push events to matching ex:20.15.10

permissions:
contents: write
name: Create release with tag
env:
TAG_VALUE: ${GITHUB_REF/refs\/tags\//}
Expand Down
4 changes: 2 additions & 2 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function plugin_vip_install() {
$tables = ["glpi_plugin_vip_tickets"];

foreach ($tables as $table) {
$DB->query("DROP TABLE IF EXISTS `$table`;");
$DB->dropTable($table);
}
}

Expand All @@ -65,7 +65,7 @@ function plugin_vip_uninstall() {
"glpi_plugin_vip_tickets"];

foreach ($tables as $table)
$DB->query("DROP TABLE IF EXISTS `$table`;");
$DB->dropTable($table);

$tables_glpi = ["glpi_displaypreferences",
"glpi_documents_items",
Expand Down

0 comments on commit 4c5854e

Please sign in to comment.