| 1 | <?php |
||
| 3 | class Qrz_OneDayAdmin_Model_Cron |
||
|
|
|||
| 4 | { |
||
| 5 | |||
| 6 | /** |
||
| 7 | * @return void |
||
| 8 | * @author Cristian Quiroz <[email protected]> |
||
| 9 | */ |
||
| 10 | public function deactivateOneDayAdmins() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return Mage_Admin_Model_Roles |
||
| 36 | * @author Cristian Quiroz <[email protected]> |
||
| 37 | */ |
||
| 38 | protected function getAdminRolesModel() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return Mage_Admin_Model_User |
||
| 45 | * @author Cristian Quiroz <[email protected]> |
||
| 46 | */ |
||
| 47 | protected function getAdminUserModel() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return Qrz_OneDayAdmin_Model_SystemConfig |
||
| 54 | * @author Cristian Quiroz <[email protected]> |
||
| 55 | */ |
||
| 56 | protected function getSystemConfig() |
||
| 60 | } |
||
| 61 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.