blob: 07732f261ce150e6ad3839e1af5ff84a15d6b384 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
/**
* Elgg 1.8.3 upgrade 2012041801
* multiple_user_tokens
*
* Fixes http://trac.elgg.org/ticket/4291
* Removes the unique index on users_apisessions for user_guid and site_guid
*/
$db_prefix = elgg_get_config('dbprefix');
$q = "ALTER TABLE {$db_prefix}users_apisessions DROP INDEX user_guid,
ADD INDEX user_guid (user_guid, site_guid)";
update_data($q);
|