summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-09-18 01:38:36 +0200
committerPhilip Häusler <msquare@notrademark.de>2013-09-18 01:38:36 +0200
commitbfb0cacd541cc20129a3c0ac77130370741dca18 (patch)
tree0a0e86e1a53d712065664c12d06603bc044df9ec /db
parentd50cc21f50cb3ec3afdabb74a20d81bd1a53dfbd (diff)
mysql to mysqli and a lot of cleanup and mvc
Diffstat (limited to 'db')
-rw-r--r--db/install.sql20
-rw-r--r--db/update.php2
2 files changed, 1 insertions, 21 deletions
diff --git a/db/install.sql b/db/install.sql
index 235e6224..0be9b891 100644
--- a/db/install.sql
+++ b/db/install.sql
@@ -1289,26 +1289,6 @@ INSERT INTO `UserGroups` (`id`, `uid`, `group_id`) VALUES
-- --------------------------------------------------------
--
--- Tabellenstruktur für Tabelle `UserPicture`
---
-
-DROP TABLE IF EXISTS `UserPicture`;
-CREATE TABLE IF NOT EXISTS `UserPicture` (
- `UID` int(11) NOT NULL DEFAULT '0',
- `Bild` longblob NOT NULL,
- `ContentType` varchar(20) NOT NULL DEFAULT '',
- `show` char(1) NOT NULL DEFAULT 'N',
- PRIMARY KEY (`UID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
---
--- Daten für Tabelle `UserPicture`
---
-
-
--- --------------------------------------------------------
-
---
-- Tabellenstruktur für Tabelle `Wecken`
--
diff --git a/db/update.php b/db/update.php
index 9c709f69..05f2cd73 100644
--- a/db/update.php
+++ b/db/update.php
@@ -1,6 +1,6 @@
<?php
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR . 'bootstrap.php');
-require_once ('includes/sys_mysql.php');
+require_once ('includes/mysql_provider.php');
require_once ('config/config.php');
require_once ('config/config_db.php');
sql_connect($config['host'], $config['user'], $config['pw'], $config['db']);