diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 16:50:29 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 16:50:29 +0000 |
commit | 38a260b1d707cb9ea4639403ee9a9410bccc1134 (patch) | |
tree | e2a37fbe90b8fe4b25abc15e3e8230a674a03ad1 | |
parent | 102f0f566b930f9c5030df47f198f0e1627ce317 (diff) |
Rename get_absolute_url to abs_current
-rw-r--r-- | core/helpers/MY_url.php | 2 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Entry.php | 4 | ||||
-rw-r--r-- | modules/atom/libraries/Gallery_Atom_Feed.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/core/helpers/MY_url.php b/core/helpers/MY_url.php index 5095c701..1c40c2bc 100644 --- a/core/helpers/MY_url.php +++ b/core/helpers/MY_url.php @@ -33,7 +33,7 @@ class url extends url_Core { return url::site($path, "http"); } - public static function get_absolute_url() { + public static function abs_current() { return self::abs_site(url::current()); } } diff --git a/modules/atom/libraries/Gallery_Atom_Entry.php b/modules/atom/libraries/Gallery_Atom_Entry.php index e7d0ea8b..ee5abd07 100644 --- a/modules/atom/libraries/Gallery_Atom_Entry.php +++ b/modules/atom/libraries/Gallery_Atom_Entry.php @@ -27,10 +27,10 @@ class Gallery_Atom_Entry_Core extends Atom_Entry { parent::__construct("entry"); /* Set feed ID and self link. */ - $this->id(html::specialchars(url::get_absolute_url())); + $this->id(html::specialchars(url::abs_current())); $this->link() ->rel("self") - ->href(url::get_absolute_url()); + ->href(url::abs_current()); } public function link() { diff --git a/modules/atom/libraries/Gallery_Atom_Feed.php b/modules/atom/libraries/Gallery_Atom_Feed.php index 61fba5b4..ba44f15a 100644 --- a/modules/atom/libraries/Gallery_Atom_Feed.php +++ b/modules/atom/libraries/Gallery_Atom_Feed.php @@ -27,10 +27,10 @@ class Gallery_Atom_Feed_Core extends Atom_Feed { parent::__construct("feed"); /* Set feed ID and self link. */ - $this->id(html::specialchars(url::get_absolute_url())); + $this->id(html::specialchars(url::abs_current())); $this->link() ->rel("self") - ->href(url::get_absolute_url()); + ->href(url::abs_current()); } public function link() { |