mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-22 07:39:35 +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:
parent
efad818cb7
commit
c663080fdd
@ -24377,3 +24377,6 @@
|
|||||||
* Added profiling code (disabled by default) to the 'RDCae' class.
|
* Added profiling code (disabled by default) to the 'RDCae' class.
|
||||||
2023-08-25 Fred Gleason <fredg@paravelsystems.com>
|
2023-08-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added a 'PadSegueOverlap=' directive to rd.conf(5).
|
* Added a 'PadSegueOverlap=' directive to rd.conf(5).
|
||||||
|
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.
|
||||||
|
@ -1668,6 +1668,11 @@ void RDSvc::remove(const QString &name)
|
|||||||
q=new RDSqlQuery(sql);
|
q=new RDSqlQuery(sql);
|
||||||
delete q;
|
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 ")+
|
sql=QString("update `RDAIRPLAY` set ")+
|
||||||
"`DEFAULT_SERVICE`='' where "+
|
"`DEFAULT_SERVICE`='' where "+
|
||||||
"`DEFAULT_SERVICE`='"+RDEscapeString(name)+"'";
|
"`DEFAULT_SERVICE`='"+RDEscapeString(name)+"'";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user