{
$au = $this->getAuthUser();
if (!$au) {
- $this->jerr("Not authenticated", array('authFailure' => true));
+ $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
}
// workflow only applicable to owner company..
if ($au->company()->comptype != 'OWNER') {
}
- function get()
+ function get($v, $opts=array())
{
$this->jerr("invalid request");
}
- function post()
+ function post($v)
{
// needs: (Array of...)
// on_table,