diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-17 08:18:33 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-17 08:18:33 -0700 |
commit | 8384e7c7f63d209cf0cbf9574586de84f88959d0 (patch) | |
tree | eae427b63473b0f3938a56da9dfbdbce15592ebc /actions/newnotice.php | |
parent | 312fd855324b680c45b71c683b9589f24e1b31a9 (diff) | |
parent | 85a4e32f30fcc1b081cde7c8e0267b4fd0c83e16 (diff) |
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
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 * |