You are here

function drupal_module_get_weight in Elysia Cron 6.2

Same name and namespace in other branches
  1. 6 elysia_drupalconv.php \drupal_module_get_weight()
  2. 7 elysia_drupalconv.php \drupal_module_get_weight()
1 call to drupal_module_get_weight()
elysia_cron_help in ./elysia_cron.module
I use help section for admin/build/modules page to check if elysia_cron is the module with the smallest weight. If it's not i'll set it and print a message

File

./elysia_drupalconv.php, line 128

Code

function drupal_module_get_weight($name) {
  return db_result(db_query("select weight from {system} where name = '%s'", $name));
}