mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix #945
This commit is contained in:
@@ -60,6 +60,17 @@ class Note extends Model
|
||||
return $model;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rimuove tutte le note di un determinato modulo/plugin e record.
|
||||
*
|
||||
* @param array $data
|
||||
*/
|
||||
public static function deleteLinked($data)
|
||||
{
|
||||
database()->delete('zz_notes', $data);
|
||||
}
|
||||
|
||||
|
||||
/* Relazioni Eloquent */
|
||||
|
||||
public function user()
|
||||
|
Reference in New Issue
Block a user