Rename groups table to usenet_groups as groups is a reserved word in mysql now

This commit is contained in:
DariusIII
2019-02-19 15:54:32 +01:00
parent d830b505f1
commit 40e7233727
45 changed files with 201 additions and 172 deletions
@@ -7,7 +7,7 @@ use Blacklight\Nfo;
use Blacklight\NZB;
use FFMpeg\FFProbe;
use Blacklight\NNTP;
use App\Models\Group;
use App\Models\UsenetGroup;
use App\Models\Release;
use App\Models\Category;
use App\Models\Settings;
@@ -2309,7 +2309,7 @@ class ProcessAdditional
$this->_passwordStatus = [Releases::PASSWD_NONE];
$this->_releaseHasPassword = false;
$this->_releaseGroupName = Group::getNameByID($this->_release->groups_id);
$this->_releaseGroupName = UsenetGroup::getNameByID($this->_release->groups_id);
$this->_releaseHasNoNFO = false;
// Make sure we don't already have an nfo.