From 3794efd520e583c6d34377d39bd1637712897131 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 21 Sep 2013 04:25:01 +0000 Subject: [PATCH] Add the api key to app_config.php --- core/users/app_config.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/core/users/app_config.php b/core/users/app_config.php index dffc5348de..cbcb07dc40 100644 --- a/core/users/app_config.php +++ b/core/users/app_config.php @@ -163,16 +163,22 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_enabled'; - $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'user_time_zone'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'usertimezone'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true'; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'api_key'; + $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid'; + $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_enabled'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'add_user'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = 'user_add_user'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = 'useradduser';