mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
6270114767
Summary: - Removed trailing newlines. - Added newline at EOF. - Removed leading newlines. - Trimmed trailing whitespace. - Spelling fix. - Added newline at EOF Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: hach-que, chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8344
15 lines
424 B
PHP
Executable file
15 lines
424 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
$root = dirname(dirname(dirname(__FILE__)));
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
ini_set('memory_limit', -1);
|
|
$tasks = id(new ManiphestTask())->loadAll();
|
|
echo "Updating relationships for ".count($tasks)." tasks";
|
|
foreach ($tasks as $task) {
|
|
ManiphestTaskProject::updateTaskProjects($task);
|
|
ManiphestTaskSubscriber::updateTaskSubscribers($task);
|
|
echo '.';
|
|
}
|
|
echo "\nDone.\n";
|