mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-08-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'RDSvc::remove()' method that failed to remove records from the 'USER_SERVICE_PERMS' table. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1668,6 +1668,11 @@ void RDSvc::remove(const QString &name)
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
|
||||
sql=QString("delete from `USER_SERVICE_PERMS` where ")+
|
||||
"`SERVICE_NAME`='"+RDEscapeString(name)+"'";
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
|
||||
sql=QString("update `RDAIRPLAY` set ")+
|
||||
"`DEFAULT_SERVICE`='' where "+
|
||||
"`DEFAULT_SERVICE`='"+RDEscapeString(name)+"'";
|
||||
|
Reference in New Issue
Block a user