diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-12-30 11:58:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-12-30 11:58:14 +0000 |
commit | 44c48004346e5956cefbd5ebd558a4406cc61253 (patch) | |
tree | 174d686bc2fd83da9930f6bf20de9864ef34e71c /includes/function.inc | |
parent | 83f6495c9aa810a884b7ca2c44d19f3f32b6092a (diff) | |
download | brdo-44c48004346e5956cefbd5ebd558a4406cc61253.tar.gz brdo-44c48004346e5956cefbd5ebd558a4406cc61253.tar.bz2 |
- here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4
- tidied up some of the code and mainly working on the documentation
Diffstat (limited to 'includes/function.inc')
-rw-r--r-- | includes/function.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/function.inc b/includes/function.inc index dc013683e..4ebb161e8 100644 --- a/includes/function.inc +++ b/includes/function.inc @@ -1,11 +1,5 @@ <? -function id2story($id) { - ### Perform query: - $result = db_query("SELECT s.*, u.userid FROM stories s LEFT JOIN users u ON s.author = u.id WHERE s.id = $id"); - return db_fetch_object($result); -} - function load_theme() { global $user, $themes; |