BryanDavis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/99546
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(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships
refs/changes/46/99546/1
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: newchange
Gerrit-Change-Id: Ifc21fabfef65ad36e294de66181e17b7b922d7bc
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits