]> CyberLeo.Net >> Repos - Github/YOURLS.git/commit
I want to be able to get all keywords for a specific URL. While the function yourls_...
authorClayton Daley <clayton.daley@gmail.com>
Wed, 16 Oct 2013 22:54:08 +0000 (18:54 -0400)
committerClayton Daley <clayton.daley@gmail.com>
Sat, 9 Nov 2013 23:22:30 +0000 (18:22 -0500)
commit3eefc10d775e04810b15f0514f1fddf0a4abe908
treecaa11d2f9981db6ccd2705eaff96a19626528b46
parent888dbcd3959a4be0af2cacda1f773af651a530f4
I want to be able to get all keywords for a specific URL.  While the function yourls_get_duplicate_keywords() exists, it returns NULL -- instead of a single keyword -- if yourls_allow_duplicate_longurls() is false.  This commit refactors the keyword logic from yourls_allow_duplicate_longurls() into yourls_get_keywords() so a keyword list can be obtained regardless of the state of YOURLS_UNIQUE_URLS.
includes/functions.php