2014-06-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/license.php: fixed the erased the update extension. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
424451bd8d
commit
e05c79c7c9
|
@ -1,3 +1,7 @@
|
|||
2014-06-13 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/setup/license.php: fixed the erased the update extension.
|
||||
|
||||
2014-06-13 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extensions/realtime_graphs.php
|
||||
|
|
|
@ -28,7 +28,8 @@ ui_print_page_header (__('License management'), "images/extensions.png", false,
|
|||
|
||||
if ($update_settings) {
|
||||
foreach ($_POST['keys'] as $key => $value) {
|
||||
um_db_update_setting ($key, $value);
|
||||
db_process_sql_update('tupdate_settings',
|
||||
array('value' => $value), array('key' => $key));
|
||||
}
|
||||
|
||||
ui_print_success_message(__('License updated'));
|
||||
|
@ -38,8 +39,12 @@ ui_require_javascript_file_enterprise('load_enterprise');
|
|||
enterprise_include_once('include/functions_license.php');
|
||||
$license = enterprise_hook('license_get_info');
|
||||
|
||||
$settings = null;
|
||||
$settings = um_db_load_settings ();
|
||||
$rows = db_get_all_rows_in_table('tupdate_settings');
|
||||
|
||||
$settings = new StdClass;
|
||||
foreach ($rows as $row) {
|
||||
$settings->$row['key'] = $row['value'];
|
||||
}
|
||||
|
||||
echo '<script type="text/javascript">';
|
||||
print_js_var_enteprise();
|
||||
|
|
Loading…
Reference in New Issue