$ssObj->setState('max_sessions', MAX_SESSIONS_ACTIVE);
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'userBlogs.class.php')) {
    // create UserBlogs
    require_once PATH_CORE . '/classes/userBlogs.class.php';
    UserBlogsTable::createTable($manageObj);
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'widgets.class.php')) {
    // create Widgets
    require_once PATH_CORE . '/classes/widgets.class.php';
    WidgetsTable::createTable($manageObj);
    FeaturedWidgetsTable::createTable($manageObj);
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'adCode.class.php')) {
    // create AdCode Table
    require_once PATH_CORE . '/classes/adCode.class.php';
    AdCodeTable::createTable($manageObj);
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'subscriptions.class.php')) {
    require_once PATH_CORE . '/classes/subscriptions.class.php';
    SubscriptionsTable::createTable($manageObj);
}
if (defined('ENABLE_WALL') and ENABLE_WALL === true) {
    if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'forum.class.php')) {
        // create ForumTopics Table
        require_once PATH_CORE . '/classes/forum.class.php';
        ForumTopicsTable::createTable($manageObj);
        $wall = new ForumTopicsTable($manageObj->db);
        $wall->initialize();
    }
}
if (defined('MODULE_FACEBOOK') and MODULE_FACEBOOK === true) {