#!/usr/bin/php value) { echo "Configuration updated:\n\n{$settings}"; if (!$record) { $record = R::dispense('variable'); $record->name = 'settings'; } $record->value = $settings; $record->updated_on = R::isoDateTime(); R::store($record); $history = R::dispense('history'); $history->name = $record->name; $history->value = $record->value; $history->updated_on = $record->updated_on; R::store($history); } GitHubEventQueue::downloadEvents(); SuperProject::updateBranches();