You are here

function shorten_cs_load in Shorten URLs 6

Same name and namespace in other branches
  1. 8.2 modules/shorten_cs/shorten_cs.module \shorten_cs_load()
  2. 8 modules/shorten_cs/shorten_cs.module \shorten_cs_load()
  3. 7.2 shorten_cs.module \shorten_cs_load()
  4. 7 shorten_cs.module \shorten_cs_load()

Implementation of hook_load().

File

./shorten_cs.module, line 83
Allows users to specify custom services for the Shorten URLs module.

Code

function shorten_cs_load($sid) {
  return db_fetch_object(db_query("SELECT * FROM {shorten_cs} WHERE sid = %d", $sid));
}