/** * Commits a transaction, or decreases the level * * @internal * * @return void */ public static function commit() { // If the transaction was started by something else, don't even track it if (self::$transaction_level == 0) { return; } self::$transaction_level--; if (!self::$transaction_level) { fFilesystem::commit(); } }