HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux newsites.squeezer-software.com 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/sites/orpis/modules/simpletest/tests/update_test_1.install
<?php

/**
 * @file
 * Install, update and uninstall functions for the update_test_1 module.
 */

/**
 * Implements hook_update_dependencies().
 *
 * @see update_test_2_update_dependencies()
 */
function update_test_1_update_dependencies() {
  // These dependencies are used in combination with those declared in
  // update_test_2_update_dependencies() for the sole purpose of testing that
  // the results of hook_update_dependencies() are collected correctly and have
  // the correct array structure. Therefore, we use updates from System module
  // (which have already run), so that they will not get in the way of other
  // tests.
  $dependencies['system'][7000] = array(
    // Compare to update_test_2_update_dependencies(), where the same System
    // module update function is forced to depend on an update function from a
    // different module. This allows us to test that both dependencies are
    // correctly recorded.
    'update_test_1' => 7000,
  );
  $dependencies['system'][7001] = array(
    // Compare to update_test_2_update_dependencies(), where the same System
    // module update function is forced to depend on a different update
    // function within the same module. This allows us to test that only the
    // dependency on the higher-numbered update function is recorded.
    'update_test_1' => 7002,
  );
  return $dependencies;
}

/**
 * Dummy update_test_1 update 7000.
 */
function update_test_1_update_7000() {
}

/**
 * Dummy update_test_1 update 7001.
 */
function update_test_1_update_7001() {
}

/**
 * Dummy update_test_1 update 7002.
 */
function update_test_1_update_7002() {
}