yandod / candycane

a port of Redmine to CakePHP from Ruby on Rails
http://my.candycane.jp
510 stars 127 forks source link

Invalid use of Object::cakeError() in a couple of places #278

Open yaras opened 8 years ago

yaras commented 8 years ago

There are a couple of cakeError() calls in code. As documentation states:

For 2.0 Object::cakeError() has been removed. Instead it has been replaced with a number of exceptions.

As stated here Exceptions should be used instead.

I'll try to fix this issue and I'll open a Pull Request, so you can assume this task is assigned to me.