|
@@ -32,7 +32,6 @@ class Ems
|
|
|
*/
|
|
|
public static function get($email, $event = 'default')
|
|
|
{
|
|
|
- $event = 'default';
|
|
|
$ems = \app\common\model\Ems::
|
|
|
where(['email' => $email, 'event' => $event])
|
|
|
->order('id', 'DESC')
|
|
@@ -202,7 +201,6 @@ class Ems
|
|
|
*/
|
|
|
public static function flush($email, $event = 'default')
|
|
|
{
|
|
|
- $event = 'default';
|
|
|
\app\common\model\Ems::
|
|
|
where(['email' => $email])
|
|
|
->delete();
|