mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-29 10:26:46 -04:00
Added the concept of "permanent" messages that we show to admins. Use
this to show a "your thumbs/resizes are out of date" message whenever we change the graphics rules. Tweak watermark module to add graphics rules whenever we make a change, which triggers the graphics module to add the permanent message.
This commit is contained in:
@@ -95,6 +95,15 @@ class core_installer {
|
||||
PRIMARY KEY (`id`))
|
||||
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
|
||||
|
||||
$db->query("CREATE TABLE `messages` (
|
||||
`id` int(9) NOT NULL auto_increment,
|
||||
`key` varchar(255) default NULL,
|
||||
`value` varchar(255) default NULL,
|
||||
`severity` varchar(32) default NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY(`key`))
|
||||
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
|
||||
|
||||
$db->query("CREATE TABLE `modules` (
|
||||
`id` int(9) NOT NULL auto_increment,
|
||||
`name` varchar(255) default NULL,
|
||||
|
||||
Reference in New Issue
Block a user