Skip to content

Commit

Permalink
V1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hhunderter committed Apr 23, 2019
1 parent ac94abb commit abe38af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Config extends \Ilch\Config\Install
{
public $config = [
'key' => 'radiohoerercharts',
'version' => '1.3.0',
'version' => '1.3.1',
'icon_small' => 'fa-list-ol',
'author' => 'Reilard, Dennis alias hhunderter ',
'link' => '',
Expand Down Expand Up @@ -63,7 +63,7 @@ public function uninstall()
$this->db()->queryMulti("DELETE FROM `[prefix]_config` WHERE `key` = 'radio_hoerercharts_all_sec_vote'");
$this->db()->queryMulti("DELETE FROM `[prefix]_config` WHERE `key` = 'radio_hoerercharts_allow_suggestion'");

$this->db()->queryMulti(' DROP TABLE IF EXISTS `[prefix]_radio_hoerercharts`;
$this->db()->queryMulti(' DROP TABLE IF EXISTS `[prefix]_radio_hoerercharts`;
DROP TABLE IF EXISTS `[prefix]_radio_hoerercharts_uservotes`;
DROP TABLE IF EXISTS `[prefix]_radio_hoerercharts_suggestion`;');
}
Expand Down Expand Up @@ -143,8 +143,7 @@ public function getUpdate($installedVersion)
/*
In der Chart-Liste können Einträge ein-/ausgeblendet werden
Wenn gewünscht können User/Gäste alle X Sekunden abstimmen
User/Gäste können, wenn gewünscht, vorschläge machen für die Chart-Liste `user_id` INT(11) NOT NULL,
User/Gäste können, wenn gewünscht, vorschläge machen für die Chart-Liste
*/
$this->db()->query('ALTER TABLE `[prefix]_radio_hoerercharts_uservotes` ADD COLUMN `last_activity` DATETIME NOT NULL AFTER `session_id`;');
$this->db()->query('ALTER TABLE `[prefix]_radio_hoerercharts` ADD COLUMN `setfree` TINYINT(1) NOT NULL DEFAULT \'1\' AFTER `id`;');
Expand All @@ -163,7 +162,8 @@ public function getUpdate($installedVersion)
$databaseConfig->set('radio_hoerercharts_allow_suggestion', '1');
case "1.3.0": //update zu 1.3.1
/*
Kleine Fixes...
fix indentation
bugfix
*/
}
return 'Update function executed.';
Expand Down
2 changes: 1 addition & 1 deletion controllers/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function treatAction()

$this->redirect()
->withMessage('saveSuccess')
->2to(['action' => 'index']);
->to(['action' => 'index']);
}
$this->addMessage($validation->getErrorBag()->getErrorMessages(), 'danger', true);
$this->redirect()
Expand Down

0 comments on commit abe38af

Please sign in to comment.