(c) 2018. concrete5 Japan, Inc. (Katz Ueno) MIT License.
This is concrete5 Job to batch edit all existing users to make anonymouse or edit.
<?php | |
/* | |
* @copyright 2014 Mautic Contributors. All rights reserved | |
* @author Mautic | |
* | |
* @link http://mautic.org | |
* | |
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
<?php | |
// /application/bootstrap/app.php | |
/* | |
* ---------------------------------------------------------------------------- | |
* ## Request Debug | |
* ---------------------------------------------------------------------------- | |
*/ | |
Route::register('/ccm/c5-request_test_wKKv8AEYlB7F27WE', function() { | |
header("Pragma: no-cache"); |
<?php | |
// application/src/Console/Command/StatusCodeCheck.php | |
namespace Application\Console\Command; | |
use Concrete\Core\Console\Command; | |
use Concrete\Core\Database\Connection\Connection; | |
use Concrete\Core\Http\Client\Client; | |
use Concrete\Core\Page\Page; | |
use Concrete\Core\Support\Facade\Application; | |
use Concrete\Core\Url\Url; |
<?php | |
// application/src/Console/Command/StatusCodeCheck.php | |
namespace Application\Console\Command; | |
use Concrete\Core\Console\Command; | |
use Concrete\Core\Database\Connection\Connection; | |
use Concrete\Core\Http\Client\Client; | |
use Concrete\Core\Page\Page; | |
use Concrete\Core\Support\Facade\Application; | |
use Concrete\Core\Url\Url; |
<?php | |
return [ | |
/* | |
* ------------------------------------------------------------------------ | |
* Multilingual Settings | |
* ------------------------------------------------------------------------ | |
*/ | |
'multilingual' => [ | |
'set_alternate_hreflang' => true, |
<?php | |
use Concrete\Core\Block\View\BlockView; | |
defined('C5_EXECUTE') or die('Access Denied.'); | |
$c = Page::getCurrentPage(); | |
$cp = new Permissions($c); | |
if ($cp->canViewPageVersions()) { | |
$stack = Stack::getByID($stID); | |
} else { |
<?php | |
namespace Application\Job; | |
use Concrete\Core\User\UserInfo; | |
use Core; | |
use Config; | |
use View; | |
class BatchDeleteUsers extends \Concrete\Core\Job\QueueableJob | |
{ |
if (function(a) { | |
"use strict"; | |
function b(a, c) { | |
return new b.prototype.init(a, c) | |
} | |
Function.prototype.bind || (Function.prototype.bind = function(a) { | |
var b = this; | |
return function() { | |
return b.apply(a) | |
} |