Commit feafd46c authored by Imran Hussain's avatar Imran Hussain

Move the sucsunreadmail script to the plugins folder from my home dir

parent 148b8dce
......@@ -227,7 +227,7 @@ private $datahash=''; // hash of data field
}*/
// a sure-fire way to check to see if the user has any unread email
// the bash script returns 0 for no and 1 for yes, takes one arg, username
$this->email = shell_exec("/home/member/imranh/bin/sucsunreadmail $user");
$this->email = shell_exec("../plugins/sucsunreadmail $user");
if (file_exists($info['homedirectory'][0]."/.forward")) {
$forward = file($info['homedirectory'][0]."/.forward");
......
#!/bin/bash
if finger -m $1 | grep "New mail" &> /dev/null
then
echo "1"
else
echo "0"
fi
\ No newline at end of file
  • mentioned in issue #2 (closed)

    Toggle commit list
  • Bit of a grammatical nightmare here

    SUCS hosts a number of open source coding projects and offers its members Git & Subversion repositories and Gitlab Projects & Trac wiki/ticket trackers to manage their projects. The projects page lists a number of projects which SUCS members are currently working on, and which you can get involved with.

    Might be worth changing it to something like this

    SUCS hosts a number of open source coding projects and offers its members Git & Subversion repositories. To enhance these repositories we also provide Gitlab Projects & the Trac wiki/ticket tracking system to assist in the management of projects. The projects page lists a number of projects which SUCS members are currently working on, and which you can get involved with.

  • Just a suggestion really.

  • @rjames93 I think you meant to post that on 91fc2c96 But yeah, I like your alternative.

    Want to commit it?

  • Er. I'm out today. I'll commit it this evening if you want.

  • I'll do it quickly and update !4 (merged) to include the commit.

    I'd like to get this info on the site for when freshers arrive.

  • Does beta.SUCS.org auto update when the branch is changed?

  • mentioned in commit f3f77447

    Toggle commit list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment