<?php /** * Copyright (c) 2013, Sergey Kambalin * All rights reserved. * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ * and is licensed under Oxwall Store Commercial License. * Full text of this license can be found at http://www.oxwall.org/store/oscl */ require_once dirname(__FILE__) . DS . 'classes' . DS . 'credits.php'; $credits = new UTAGS_CLASS_Credits(); $credits->triggerCreditActionsAdd();
public function init() { $this->genericInit(); $this->credits->triggerCreditActionsAdd(); OW::getEventManager()->bind('usercredits.on_action_collect', array($this->credits, 'bindCreditActionsCollect')); }