You are here

function elfinder_update_7102 in elFinder file manager 7

Same name and namespace in other branches
  1. 8.2 elfinder.install \elfinder_update_7102()
  2. 7.3 elfinder.install \elfinder_update_7102()
  3. 7.2 elfinder.install \elfinder_update_7102()

File

./elfinder.install, line 124
Installation file for elfinder.

Code

function elfinder_update_7102() {
  $ret = array();
  if (db_table_exists('elfinder_profile') == FALSE) {
    drupal_install_schema('elfinder');
  }
  if (!db_field_exists('elfinder_profile', 'settings')) {
    db_add_field($ret, 'elfinder_profile', 'settings', array(
      'type' => 'text',
      'not null' => FALSE,
    ));
  }
  return $ret;
}