<?php
/**
* Lite Publisher
* Copyright (C) 2010 - 2013 Vladimir Yushko http://litepublisher.ru/ http://litepublisher.com/
* Dual licensed under the MIT (mit.txt)
* and GPL (gpl.txt) licenses.
**/

function tsinglecatInstall($self) {
  if (!dbversion) die('Required database version');
  tthemeparser::i()->parsed = $self->themeparsed;
  ttheme::clearcache();
}

function tsinglecatUninstall($self) {
  tthemeparser::i()->unbind($self);
  ttheme::clearcache();
}