jenkins-bot has submitted this change and it was merged.
Change subject: Add missing Apply::updateNotes() function
......................................................................
Add missing Apply::updateNotes() function
Apparently I got a little over zealous when I was cleaning up the DAO
layer in I9633cbf and removed the function for posting notes.
Change-Id: Ifc21fabfef65ad36e294de66181e17b7b922d7bc
---
M src/Wikimania/Scholarship/Dao/Apply.php
1 file changed, 11 insertions(+), 0 deletions(-)
Approvals:
Chad: Looks good to me, approved
Aude: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/src/Wikimania/Scholarship/Dao/Apply.php
b/src/Wikimania/Scholarship/Dao/Apply.php
index 61b15fd..d0b2212 100644
--- a/src/Wikimania/Scholarship/Dao/Apply.php
+++ b/src/Wikimania/Scholarship/Dao/Apply.php
@@ -389,6 +389,17 @@
}
+ public function updateNotes( $id, $notes ) {
+ return $this->update(
+ 'update scholarships set notes = :notes where id =
:int_id',
+ array(
+ 'int_id' => $id,
+ 'notes' => $notes,
+ )
+ );
+ }
+
+
public function getReviewers( $id, $phase ) {
$where = array( "r.scholarship_id = :int_sid" );
if ( $phase == 1 ) {
--
To view, visit https://gerrit.wikimedia.org/r/99546
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifc21fabfef65ad36e294de66181e17b7b922d7bc
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits