diff options
author | Simon Rettberg | 2019-03-26 09:30:13 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-26 09:30:13 +0100 |
commit | a343313a5240bc74f4648376a290133ac712afcb (patch) | |
tree | 2560d8677b043f2445f4d6308e6d20a03231540a /modules-available/baseconfig_partitions_cdn/install.inc.php | |
parent | [serversetup-bwlp-ipxe] Don't show compile progress on every subpage (diff) | |
download | slx-admin-a343313a5240bc74f4648376a290133ac712afcb.tar.gz slx-admin-a343313a5240bc74f4648376a290133ac712afcb.tar.xz slx-admin-a343313a5240bc74f4648376a290133ac712afcb.zip |
Delete unused and unmaintained modules
Diffstat (limited to 'modules-available/baseconfig_partitions_cdn/install.inc.php')
-rw-r--r-- | modules-available/baseconfig_partitions_cdn/install.inc.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/modules-available/baseconfig_partitions_cdn/install.inc.php b/modules-available/baseconfig_partitions_cdn/install.inc.php deleted file mode 100644 index f4092078..00000000 --- a/modules-available/baseconfig_partitions_cdn/install.inc.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php - -$res = array(); - -$res[] = tableCreate('setting_partition', " - `id` int(11) NOT NULL AUTO_INCREMENT, - `partition_id` varchar(110) NOT NULL, - `size` varchar(110) NOT NULL, - `mount_point` varchar(110) NOT NULL, - `options` varchar(110) NOT NULL, - `user` int(10) unsigned NOT NULL, - PRIMARY KEY (`id`), - KEY `user` (`user`) -"); - -if (in_array(UPDATE_DONE, $res)) { - Database::exec("ALTER TABLE `setting_partition` - ADD CONSTRAINT `setting_partition_ibfk_1` FOREIGN KEY (`user`) REFERENCES `user` (`userid`)"); -} - -// Update path - -// -- none -- - -// Create response for browser - -if (in_array(UPDATE_DONE, $res)) { - finalResponse(UPDATE_DONE, 'Tables created successfully'); -} - -finalResponse(UPDATE_NOOP, 'Everything already up to date'); |