1
1
Fork 0

eradicate redundant get_uid function

This commit is contained in:
Mike Macgirvin 2010-10-18 14:34:59 -07:00
commit ac824fe83e
18 changed files with 79 additions and 86 deletions

View file

@ -1023,13 +1023,6 @@ function photo_new_resource() {
}}
// Returns logged in user ID
if(! function_exists('get_uid')) {
function get_uid() {
return local_user();
}}
// Take a URL from the wild, prepend http:// if necessary
// and check DNS to see if it's real
// return true if it's OK, false if something is wrong with it