| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/business/pms/modules/jquery_update/ |
Upload File : |
<?php
// $Id: jquery_update.install,v 1.3 2008/06/21 23:01:08 webchick Exp $
/**
* @file
* Install file for jQuery Update.
*/
/**
* Implementation of hook_requirements().
*/
function jquery_update_requirements($phase) {
$requirements = array();
$t = get_t();
if ($phase == 'runtime') {
$requirements['jquery_update'] = array(
'title' => $t('jQuery Update'),
'severity' => REQUIREMENT_OK,
'value' => jquery_update_get_version(),
);
}
return $requirements;
}
/**
* Implementation of hook_install().
*/
function jquery_update_install() {
// Set the module's weight high so that it runs after other modules.
db_query("UPDATE {system} SET weight = 99 WHERE name = 'jquery_update' and type = 'module'");
}
/**
* Set module's weight high so that it runs after other modules.
*/
function jquery_update_update_6100() {
$ret = array();
$ret[] = update_sql("UPDATE {system} SET weight = 99 WHERE name = 'jquery_update' and type = 'module'");
return $ret;
}
/**
* Implementation of hook_uninstall().
*/
function jquery_update_uninstall() {
variable_del('jquery_update_replace');
variable_del('jquery_update_compression_type');
}