Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Passbolt ~ Open source password manager for teams * Copyright (c) Passbolt S..
Decoded Output download
<?php
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 2.7.0
*/
use Migrations\AbstractMigration;
use Migrations\Migrations;
class V280AdditionalEmailMigration extends AbstractMigration
{
/**
* Up
*
* @return void
*/
public function up()
{
// Add error message
$table = $this->table('email_queue');
$table->addColumn('error', 'text', [
'default' => null,
'null' => true,
]);
$table->update();
$this->table('email_queue_phinxlog')->drop()->save();
}
/**
* Down
*
* @return void
*/
public function down()
{
return;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 2.7.0
*/
use Migrations\AbstractMigration;
use Migrations\Migrations;
class V280AdditionalEmailMigration extends AbstractMigration
{
/**
* Up
*
* @return void
*/
public function up()
{
// Add error message
$table = $this->table('email_queue');
$table->addColumn('error', 'text', [
'default' => null,
'null' => true,
]);
$table->update();
$this->table('email_queue_phinxlog')->drop()->save();
}
/**
* Down
*
* @return void
*/
public function down()
{
return;
}
}
Function Calls
None |
Stats
MD5 | b5a3da45ef225b04c0c681fc5d705cfd |
Eval Count | 0 |
Decode Time | 106 ms |