diff options
| author | 2014-03-05 20:22:03 -0500 | |
|---|---|---|
| committer | 2014-03-08 09:18:06 -0500 | |
| commit | e9eca6aff6c7e2e2349b3b6cf714e2e7eb99405e (patch) | |
| tree | 8643ff4baeddb2c479e21961242726707ee05b16 /app/Models/Share.php | |
| parent | 859290ec1f79840db031da3af10f25792e98623d (diff) | |
Sharing optimization
Change the storage and display of sharings to improve the time needed to generate the page.
Instead of looking for a default value when displaying the sharing links, they are added
during the configuration.
Diffstat (limited to 'app/Models/Share.php')
| -rw-r--r-- | app/Models/Share.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php index 887fcef05..b146db722 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -3,9 +3,6 @@ class FreshRSS_Share { static public function generateUrl($options, $selected, $link, $title) { - if (!array_key_exists('url', $selected)) { - $selected['url'] = ''; - } $share = $options[$selected['type']]; $matches = array( '~URL~', |
