diff options
author | cash <cash.costello@gmail.com> | 2013-04-14 21:06:36 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-04-14 21:06:36 -0400 |
commit | 9c3d423d87fe5f287a48158df105364b6eb36de0 (patch) | |
tree | 90f418db1bb2387157070c84b03af9c8cbcc5319 /mod/oauth_api/vendors/oauth/library/store/mysql/install.php | |
parent | 53c0783cdf59d7320233b79b7bb2b019bdfbd33a (diff) | |
download | elgg-9c3d423d87fe5f287a48158df105364b6eb36de0.tar.gz elgg-9c3d423d87fe5f287a48158df105364b6eb36de0.tar.bz2 |
removes oauth plugin as twitter_api does not depend on it anymore
Diffstat (limited to 'mod/oauth_api/vendors/oauth/library/store/mysql/install.php')
-rw-r--r-- | mod/oauth_api/vendors/oauth/library/store/mysql/install.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mod/oauth_api/vendors/oauth/library/store/mysql/install.php b/mod/oauth_api/vendors/oauth/library/store/mysql/install.php deleted file mode 100644 index 0015da5e3..000000000 --- a/mod/oauth_api/vendors/oauth/library/store/mysql/install.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - -/** - * Installs all tables in the mysql.sql file, using the default mysql connection - */ - -/* Change and uncomment this when you need to: */ - -/* -mysql_connect('localhost', 'root'); -if (mysql_errno()) -{ - die(' Error '.mysql_errno().': '.mysql_error()); -} -mysql_select_db('test'); -*/ - -$sql = file_get_contents(dirname(__FILE__) . '/mysql.sql'); -$ps = explode('#--SPLIT--', $sql); - -foreach ($ps as $p) -{ - $p = preg_replace('/^\s*#.*$/m', '', $p); - - mysql_query($p); - if (mysql_errno()) - { - die(' Error '.mysql_errno().': '.mysql_error()); - } -} - -?>
\ No newline at end of file |