Skip to content

Commit d9251d3

Browse files
authored
Merge pull request wavelog#119 from HB9HIL/dev
Dev
2 parents d6e3cf4 + 4c01cdc commit d9251d3

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ Wavelog-support can be reached by creating an issue here at github. If you've an
4242

4343
## Contributing
4444

45+
Special thanks to our contributors, who are part of Wavelog by improving code!
46+
@abarrau, @dg0tm
47+
4548
If you would like to contribute in any way to Wavelog, it is most appreciated. This has been developed in free time, help coding new features or writing documentation is always useful.
4649

4750
Please note that Wavelog was built using [Codeigniter](https://www.codeigniter.com/docs) version 3 and uses Bootstrap 5 for the user CSS framework documentation is available for this when building components.

application/config/migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|
2323
*/
2424

25-
$config['migration_version'] = 179;
25+
$config['migration_version'] = 180;
2626

2727
/*
2828
|--------------------------------------------------------------------------
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
3+
defined('BASEPATH') OR exit('No direct script access allowed');
4+
5+
/*
6+
Tag Wavelog as Version 1.1
7+
*/
8+
9+
class Migration_tag_1_1 extends CI_Migration {
10+
11+
public function up()
12+
{
13+
14+
// Tag Wavelog New Version
15+
$this->db->where('option_name', 'version');
16+
$this->db->update('options', array('option_value' => '1.1'));
17+
18+
// Trigger Version Info Dialog
19+
$this->db->where('option_type', 'version_dialog');
20+
$this->db->where('option_name', 'confirmed');
21+
$this->db->update('user_options', array('option_value' => 'false'));
22+
23+
// Also set Version Dialog to "both" if only custom text is applied
24+
$this->db->where('option_name', 'version_dialog');
25+
$this->db->where('option_value', 'custom_text');
26+
$this->db->update('options', array('option_value' => 'both'));
27+
28+
29+
}
30+
31+
public function down()
32+
{
33+
$this->db->where('option_name', 'version');
34+
$this->db->update('options', array('option_value' => '1.0'));
35+
}
36+
}

0 commit comments

Comments
 (0)