aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkDB.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-09-08 22:03:18 +0200
committerVirtualTam <virtualtam@flibidi.net>2015-09-08 22:03:18 +0200
commitce47a75864d7d398a68705df67da2ae00ca89eca (patch)
treea58c1bcaab33d42161b23d55c739737526ea17e9 /application/LinkDB.php
parent0a813cfd7cdf3c81faba8568bf6e2e667aae6f13 (diff)
parentef591e7ee21435da9314c5f7f6ea983c6f423898 (diff)
downloadShaarli-ce47a75864d7d398a68705df67da2ae00ca89eca.tar.gz
Shaarli-ce47a75864d7d398a68705df67da2ae00ca89eca.tar.zst
Shaarli-ce47a75864d7d398a68705df67da2ae00ca89eca.zip
Merge pull request #337 from doc75/doublon_url
#325 small enhancement to fix the GetLinkFromUrl method
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r--application/LinkDB.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index 463aa47e..84733505 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -287,6 +287,10 @@ You use the community supported version of the original Shaarli project, by Seba
287 287
288 /** 288 /**
289 * Returns the link for a given URL, or False if it does not exist. 289 * Returns the link for a given URL, or False if it does not exist.
290 *
291 * @param string $url URL to search for
292 *
293 * @return mixed the existing link if it exists, else 'false'
290 */ 294 */
291 public function getLinkFromUrl($url) 295 public function getLinkFromUrl($url)
292 { 296 {