diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-16 22:24:11 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-16 22:24:11 -0700 |
commit | 3d6e30d205ea4679ca0b16e8afee24f24065e451 (patch) | |
tree | f5a976189648533831ba52165caf3ce1c48994b5 /actions/newnotice.php | |
parent | d1ae3176b638a8342f0d3cfb4ac071623c639575 (diff) | |
parent | befbfc9c73a75bac9d7dac4a4b7a21bd515ce1b4 (diff) |
Merge branch '0.8.x' into userdesign
* 0.8.x:
Moved url handling to its proper place, from newnotice to Notice.php
Removed more dead code.
Brought back borders for content, navigation, aside_primary but
Minor margin value change
More contrast for tabs
UI updates:
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r-- | actions/newnotice.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index 02976a2ae..72ccd8c32 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -231,7 +231,6 @@ class NewnoticeAction extends Action if (isset($mimetype)) { $this->storeFile($notice, $mimetype); } - $this->saveUrls($notice); common_broadcast_notice($notice); if ($this->boolean('ajax')) { @@ -284,24 +283,6 @@ class NewnoticeAction extends Action } } - /** save all urls in the notice to the db - * - * follow redirects and save all available file information - * (mimetype, date, size, oembed, etc.) - * - * @param class $notice Notice to pull URLs from - * - * @return void - */ - function saveUrls($notice, $uploaded = null) { - common_replace_urls_callback($notice->content, array($this, 'saveUrl'), $notice->id); - } - - function saveUrl($data) { - list($url, $notice_id) = $data; - $zzz = File::processNew($url, $notice_id); - } - /** * Show an Ajax-y error message * |