-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Settings for incoming/outgoing email * Send sms, email or both * Add tagline to SMS's * Customize email body for email pings * refs #38
- Loading branch information
David Kobia
committed
Oct 9, 2013
1 parent
c006b17
commit 5325b4b
Showing
14 changed files
with
513 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* Messages for Messages | ||
* | ||
* @author Ushahidi Team <[email protected]> | ||
* @package Ushahidi\Application\Messages | ||
* @copyright Ushahidi - http://www.ushahidi.com | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License Version 3 (GPLv3) | ||
*/ | ||
return array | ||
( | ||
'title' => array( | ||
'invalid_title' => 'a title is required for email pings', | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php defined('SYSPATH') OR die('No direct script access.'); | ||
|
||
class Migration_1_20131008180256 extends Minion_Migration_Base { | ||
|
||
/** | ||
* Run queries needed to apply this migration | ||
* | ||
* @param Kohana_Database $db Database connection | ||
*/ | ||
public function up(Kohana_Database $db) | ||
{ | ||
$db->query(NULL, "ALTER TABLE `messages` ADD `title` VARCHAR(255) NULL DEFAULT NULL AFTER `user_id`;"); | ||
} | ||
|
||
/** | ||
* Run queries needed to remove this migration | ||
* | ||
* @param Kohana_Database $db Database connection | ||
*/ | ||
public function down(Kohana_Database $db) | ||
{ | ||
$db->query(NULL, "ALTER TABLE `messages` DROP `title`;"); | ||
} | ||
|
||
} |
Oops, something went wrong.