$x->comptype= 'OWNER';
$x->find(true);
- var_dump('fetch here??');exit;
-
if (!empty($q['query']['company_project_id'])) {
$add = '';
if (!empty($q['query']['company_include_self'])) {
}
// ---------- AUTHENTICATION
- function isAuth()
+ // not sure where authetnication via company is used?? posibly media-outreach
+
+ function isAuth()
{
$db = $this->getDatabaseConnection();
$sesPrefix = $db->dsn['database'];
){
$roo->jerr('This company is not allow to delete');
}
+ }
+ function onDelete($req, $roo)
+ {
$img = DB_DataObject::factory('Images');
$img->ontable = $this->tableName();
$img->onid = $this->id;