]> git.plutz.net Git - rawnet/blobdiff - widgets.sh
consistent variable use, move AUTHOR function to db_channel
[rawnet] / widgets.sh
index 1aa6272a2e9fb29cafe4713c3e7d94f30ffe799a..f844ba4db31b1032dc4d4aefaf2b0938db1941b3 100755 (executable)
@@ -6,14 +6,6 @@ include_widgets="$0"
 . "$_EXEC/db_channel.sh"
 . "$_EXEC/db_video.sh"
 
-AUTHOR(){
-  if [ "$CHANNEL_ID" -a "$USER_ID" -a ! "${CHANNEL_AUTHORS##*${USER_ID}*}" ]; then
-    return 0
-  else
-    return 1
-  fi
-}
-
 w_video(){
   local thumb
   eval "$LOCAL_VIDEO"