Revision 0cc9ce5f

View differences:

src/controlledconnection.cpp
87 87
	  controlInput->isReady(s));
88 88
}
89 89

  
90
std::string ControlledConnection::getType() const
91
{
92
  return "ControlledConnection";
93
}
94

  
90 95
bool ControlledConnection::processReady(const Select &s)
91 96
{
92 97
  if (!Connection::processReady(s))
......
237 242
		     ::toString(words.size() - 1) + ")\n");
238 243
      else {
239 244
	int job = toInt(words[1]);
240
	if (!scheduler->remove(job))
245
	if (!scheduler->remove(job) && !cm->removeJob(job))
241 246
	  writeControl("ERROR REMOVEJOB NO SUCH JOB\n");
242 247
	else 
243 248
	  writeControl("OK\n");
src/controlledconnection.h
39 39

  
40 40
  virtual void notifyUnsubscribe(Source *s);
41 41

  
42
protected:
43
  virtual std::string getType() const;
44

  
42 45
private:
43 46
  void writeControl(const std::string &str);
44 47

  

Also available in: Unified diff