diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-12-07 16:55:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-12-07 16:55:38 +0000 |
commit | 60352821bfd61c266c6cda5f797cc7036a9499d2 (patch) | |
tree | 9bdf38ec0b9c752caab1397a24a21fff78099151 /includes | |
parent | 1365740f6eab386aa16ba39c6f324a3c30adb78d (diff) | |
download | brdo-60352821bfd61c266c6cda5f797cc7036a9499d2.tar.gz brdo-60352821bfd61c266c6cda5f797cc7036a9499d2.tar.bz2 |
- Refactored the queue module: removed the queue module's field from the node table. With help from Gerhard.
- Slight addition to INSTALL.txt with regard to PHP versions.
- Updated/reworded some node type descriptions as per Boris' suggestions.
- Adding missing {} around a table name in update.php.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/common.inc b/includes/common.inc index e49cbb851..7416c17e9 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1508,19 +1508,6 @@ function l($text, $path, $attributes = array(), $query = NULL, $fragment = NULL, return '<a href="'. url($path, $query, $fragment, $absolute) .'"'. drupal_attributes($attributes) .'>'. $text .'</a>'; } -function field_get($string, $name) { - ereg(",$name=([^,]+)", ",$string", $regs); - return $regs[1]; -} - -function field_set($string, $name, $value) { - $rval = ereg_replace(",$name=[^,]+", "", ",$string"); - if (isset($value)) { - $rval .= ($rval == ',' ? '' : ',') . $name .'='. $value; - } - return substr($rval, 1); -} - /** * Perform end-of-request tasks. * |