extends |
Module_Skeleton |
---|---|
implements |
Hookable |
Copyright (C) Apis Networks, Inc - All Rights Reserved.
Unauthorized copying of this file, via any medium, is strictly prohibited without consent. Any dissemination of material herein is prohibited.
For licensing inquiries email licensing@apisnetworks.com
Written by Matt Saladna matt@apisnetworks.com, July 2017
Methods | ||
---|---|---|
public
|
amnesty(string $site = null): bool
|
# |
public
|
amnesty_active(): bool
|
# |
public
|
_edit()
|
# |
public
|
_delete()
|
# |
public
|
_edit_user(string $userold, string $usernew, array $oldpwd)
|
# |
public
|
_verify_conf(ConfigurationContext $ctx): bool
|
# |
public
|
_create()
|
# |
public
|
_create_user(string $user)
|
# |
public
|
_delete_user(string $user)
|
# |
Constants | ||
---|---|---|
public
|
DEPENDENCY_MAP = ['siteinfo']
|
# |
public
|
MIN_STORAGE_AMNESTY = QUOTA_STORAGE_WAIT
|
# |
public
|
AMNESTY_DURATION = QUOTA_STORAGE_DURATION
|
# |
public
|
AMNESTY_MULTIPLIER = QUOTA_STORAGE_BOOST
|
# |
public
|
AMNESTY_JOB_MARKER = 'amnesty'
|
# |
Properties | |||
---|---|---|---|
public
|
|
$exportedFunctions = ['*' => PRIVILEGE_SITE, 'amnesty' => PRIVILEGE_SITE | PRIVILEGE_ADMIN]
|
# |