]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
eradicate redundant get_uid function
[friendica.git] / boot.php
index 786ebdee68a0595215b5189863c632fd98e4ecd2..b3d116a50a0e72ec57d861d4e6feaebd0adcbbf7 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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