From d53ec75297c93ded6c84c6b132e90bb341e479c8 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Wed, 18 Sep 2024 15:21:48 -0400 Subject: [PATCH] rm unnessecary patch --- .../dashboard/initializers/usr_router_patch.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 apps.awesim.org/apps/dashboard/initializers/usr_router_patch.rb diff --git a/apps.awesim.org/apps/dashboard/initializers/usr_router_patch.rb b/apps.awesim.org/apps/dashboard/initializers/usr_router_patch.rb deleted file mode 100644 index 6431846e..00000000 --- a/apps.awesim.org/apps/dashboard/initializers/usr_router_patch.rb +++ /dev/null @@ -1,17 +0,0 @@ -class UsrRouter - def owner_title - return @owner_title if defined?(@owner_title) - - @owner_title ||= (Etc.getpwnam(owner).gecos || owner) - rescue - @owner_title = owner - end - - def caption - if owner_title == owner - "Shared by #{owner}" - else - "Shared by #{owner_title} (#{owner})" - end - end -end