12 Commits

Author SHA1 Message Date
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Petr Skoda
2c4d7e2c21 MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [blockname,block_mentees],[pluginname,block_mentees]
AMOS END
2010-04-11 11:24:48 +00:00
Dan Poltawski
cd44c2b742 block/mentees: MDL-20993 - incorrectly assumes SITEID
forward ported from MOODLE_19_STABLE
2010-02-24 08:46:33 +00:00
Petr Skoda
4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
tjhunt
e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
skodak
f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
moodler
1d2c7142c7 MDL-14630 Merged My Moodle fix for Mentees from 1.9 2008-05-01 05:39:50 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
moodler
9591bc3c9e Changed applicable_formats to remove certain blocks from the tags pages 2007-08-10 09:33:21 +00:00
toyomoyo
521296f5b8 merged fix for MDL-8782, adding a mentees block 2007-03-09 07:08:27 +00:00