Skip to content

Commit

Permalink
Backwards compatibility patch - Workflow agent/customer forgot passwo…
Browse files Browse the repository at this point in the history
…rd event proxies
  • Loading branch information
akshay kumar committed Oct 23, 2019
1 parent c2c4dfb commit 617b720
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Workflow/Events/Agent/ForgotPassword.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace Webkul\UVDesk\CoreFrameworkBundle\Workflow\Events\Agent;

use Webkul\UVDesk\AutomationBundle\Workflow\FunctionalGroup;
use Webkul\UVDesk\CoreFrameworkBundle\Workflow\Events\UserForgotPassword as UserForgotPasswordEvent;

class ForgotPassword extends UserForgotPasswordEvent
{
public static function getDescription()
{
return 'Agent Forgot Password';
}

public static function getFunctionalGroup()
{
return FunctionalGroup::AGENT;
}
}
19 changes: 19 additions & 0 deletions Workflow/Events/Customer/ForgotPassword.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace Webkul\UVDesk\CoreFrameworkBundle\Workflow\Events\Customer;

use Webkul\UVDesk\AutomationBundle\Workflow\FunctionalGroup;
use Webkul\UVDesk\CoreFrameworkBundle\Workflow\Events\UserForgotPassword as UserForgotPasswordEvent;

class ForgotPassword extends UserForgotPasswordEvent
{
public static function getDescription()
{
return 'Customer Forgot Password';
}

public static function getFunctionalGroup()
{
return FunctionalGroup::CUSTOMER;
}
}

0 comments on commit 617b720

Please sign in to comment.