mirror of
				https://github.com/webmasterskaya/joomla-oauth-server.git
				synced 2025-10-31 11:53:22 +03:00 
			
		
		
		
	cleanup code
This commit is contained in:
		
							parent
							
								
									0d9b10ef8b
								
							
						
					
					
						commit
						b3da305166
					
				| @ -11,42 +11,11 @@ namespace Webmasterskaya\Component\OauthServer\Administrator\Table; | ||||
| 
 | ||||
| use Joomla\CMS\Event\AbstractEvent; | ||||
| use Joomla\CMS\Language\Text; | ||||
| use Joomla\Database\DatabaseDriver; | ||||
| 
 | ||||
| \defined('_JEXEC') or die; | ||||
| 
 | ||||
| trait RevokedTableTrait | ||||
| { | ||||
|     /** | ||||
|      * @var    string | ||||
|      * @since        version | ||||
|      * @noinspection PhpMissingFieldTypeInspection | ||||
|      */ | ||||
|     protected $_tbl = ''; | ||||
| 
 | ||||
|     /** | ||||
|      * @var    string | ||||
|      * @since        version | ||||
|      * @noinspection PhpMissingFieldTypeInspection | ||||
|      */ | ||||
|     protected $_tbl_key = ''; | ||||
| 
 | ||||
|     /** | ||||
|      * @var    array | ||||
|      * @since        version | ||||
|      * @noinspection PhpMissingFieldTypeInspection | ||||
|      */ | ||||
|     protected $_tbl_keys = []; | ||||
| 
 | ||||
|     /** | ||||
|      * @var    DatabaseDriver | ||||
|      * @since        version | ||||
|      * @noinspection PhpMissingFieldTypeInspection | ||||
|      */ | ||||
|     protected $_db; | ||||
| 
 | ||||
|     abstract public function getDbo(); | ||||
| 
 | ||||
|     public function revoke($pks = null): bool | ||||
|     { | ||||
|         // Pre-processing by observers
 | ||||
| @ -154,6 +123,8 @@ trait RevokedTableTrait | ||||
|         return true; | ||||
|     } | ||||
| 
 | ||||
|     abstract public function getDbo(); | ||||
| 
 | ||||
|     abstract public function getDispatcher(); | ||||
| 
 | ||||
|     abstract public function setError($error); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user