Browse Source

Remove unused variables

spaghetti 8 years ago
parent
commit
405dc917b1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/torrents/functions.php

+ 1
- 1
sections/torrents/functions.php View File

305
     $ReportInfo .= "\n\t\t</table>";
305
     $ReportInfo .= "\n\t\t</table>";
306
   }
306
   }
307
 
307
 
308
-  $CanEdit = (check_perms('torrents_edit') || (($UserID == $LoggedUser['ID'] && !$LoggedUser['DisableWiki']) && !($Remastered && !$RemasterYear)));
308
+  $CanEdit = (check_perms('torrents_edit') || (($UserID == $LoggedUser['ID'] && !$LoggedUser['DisableWiki'])));
309
 
309
 
310
   $RegenLink = check_perms('users_mod') ? ' <a href="torrents.php?action=regen_filelist&amp;torrentid=' . $TorrentID . '" class="brackets">Regenerate</a>' : '';
310
   $RegenLink = check_perms('users_mod') ? ' <a href="torrents.php?action=regen_filelist&amp;torrentid=' . $TorrentID . '" class="brackets">Regenerate</a>' : '';
311
   $FileTable = '
311
   $FileTable = '

Loading…
Cancel
Save