3 Reasons           to contribute to Drupal                            Florian Lorétan                            Co-Found...
Sponsors                        Генеральный спонсор     Организатор Серебряный спонсор   Серебряный спонсор  Бронзовый спо...
добрый деньWednesday, June 13, 2012
Я не говорю                            по РоссииWednesday, June 13, 2012
Я говорю DrupalWednesday, June 13, 2012
Wednesday, June 13, 2012
That’s me!Wednesday, June 13, 2012
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Who are you?Wednesday, June 13, 2012
What is a contribution?Wednesday, June 13, 2012
diff --git a/core/includes/common.inc b/core/includes/common.inc                    index 9d498c2..63a8aec 100644         ...
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Wednesday, June 13, 2012
Programming                          Graphic Design                        Project Management                             ...
#1                           LEARNWednesday, June 13, 2012
Wednesday, June 13, 2012
The best place to learn                         to swim...Wednesday, June 13, 2012
Wednesday, June 13, 2012
Best practicesWednesday, June 13, 2012
Become an expertWednesday, June 13, 2012
Its better to train your employees     and risk they leave,                           than not training them and          ...
#2                      EXCHANGEWednesday, June 13, 2012
Testing                            Reviews                           Bug reports                             Patches      ...
Testing       Testing Reviews       ReviewsBug reports   Bug reports  Patches      Patches    ...           ...
“Mathematics is like sex: sure, it may give some                      practical results, but thats not why we do it.”     ...
Open Source                      “Mathematics is like sex: sure, it may give some                      practical results, ...
#3                           NETWORKWednesday, June 13, 2012
Wednesday, June 13, 2012
Jobs                            Projects                           Resources                           Expertise          ...
OpportunitiesWednesday, June 13, 2012
LEARNWednesday, June 13, 2012
LEARN                           EXCHANGEWednesday, June 13, 2012
LEARN                           EXCHANGEWednesday, June 13, 2012
Wednesday, June 13, 2012
http://groups.drupal.org/russiaWednesday, June 13, 2012
Wednesday, June 13, 2012
Come for the software,          stay for the community.Wednesday, June 13, 2012
Имеют большой конференцииWednesday, June 13, 2012
Спасибо за внимание                                      Florian Lorétan                                      Co-Founder  ...
Sponsors                        Генеральный спонсор     Организатор Серебряный спонсор   Серебряный спонсор  Бронзовый спо...
Upcoming SlideShare
Loading in...5
×

3 reasons to contribute to drupal florian loretan (eng)

549

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
549
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

3 reasons to contribute to drupal florian loretan (eng)

  1. 1. 3 Reasons to contribute to Drupal Florian Lorétan Co-Founder Wunderkraut florian.loretan@wunderkraut.comWednesday, June 13, 2012
  2. 2. Sponsors Генеральный спонсор Организатор Серебряный спонсор Серебряный спонсор Бронзовый спонсор Бронзовый спонсор
  3. 3. добрый деньWednesday, June 13, 2012
  4. 4. Я не говорю по РоссииWednesday, June 13, 2012
  5. 5. Я говорю DrupalWednesday, June 13, 2012
  6. 6. Wednesday, June 13, 2012
  7. 7. That’s me!Wednesday, June 13, 2012
  8. 8. Wednesday, June 13, 2012
  9. 9. Wednesday, June 13, 2012
  10. 10. Wednesday, June 13, 2012
  11. 11. Who are you?Wednesday, June 13, 2012
  12. 12. What is a contribution?Wednesday, June 13, 2012
  13. 13. diff --git a/core/includes/common.inc b/core/includes/common.inc index 9d498c2..63a8aec 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -5201,13 +5201,9 @@ function drupal_cron_run() { // Allow execution to continue even if the request gets canceled. @ignore_user_abort(TRUE); - // Prevent session information from being saved while cron is running. - drupal_save_session(FALSE); - // Force the current user to anonymous to ensure consistent permissions on // cron runs. - $original_user = $GLOBALS[user]; - $GLOBALS[user] = drupal_anonymous_user(); + user_impersonate_user(drupal_anonymous_user()); // Try to allocate enough time to run all the hook_cron implementations. drupal_set_time_limit(240); @@ -5263,8 +5259,7 @@ function drupal_cron_run() { } } Restore the user. // - $GLOBALS[user] = $original_user; - drupal_save_session(TRUE); + user_revert_user(); return $return; } diff --git a/core/modules/simpletest/drupal_web_test_case.php b/core/modules/simpletest/drupal_web_test_case.php index 3069268..dfbef9d 100644 --- a/core/modules/simpletest/drupal_web_test_case.php +++ b/core/modules/simpletest/drupal_web_test_case.php @@ -1414,9 +1414,7 @@ class DrupalWebTestCase extends DrupalTestCase { drupal_cron_run(); // Log in with a clean $user. - $this->originalUser = $user; - drupal_save_session(FALSE); - $user = user_load(1); + user_impersonate_user(user_load(1)); // Restore necessary variables. variable_set(install_task, done); @@ -1550,8 +1548,7 @@ class DrupalWebTestCase extends DrupalTestCase { $callbacks = $this->originalShutdownCallbacks; // Return the user to the original one. - $user = $this->originalUser; - drupal_save_session(TRUE); + user_revert_user(); // Ensure that internal logged in variable and cURL options are reset. $this->loggedInUser = FALSE; diff --git a/core/modules/simpletest/tests/common.test b/core/modules/simpletest/tests/common.test 13, 2012Wednesday, June index fee3831..07b0f5b 100644
  14. 14. Wednesday, June 13, 2012
  15. 15. Wednesday, June 13, 2012
  16. 16. Wednesday, June 13, 2012
  17. 17. Wednesday, June 13, 2012
  18. 18. Wednesday, June 13, 2012
  19. 19. Programming Graphic Design Project Management Business System Administration ...Wednesday, June 13, 2012
  20. 20. #1 LEARNWednesday, June 13, 2012
  21. 21. Wednesday, June 13, 2012
  22. 22. The best place to learn to swim...Wednesday, June 13, 2012
  23. 23. Wednesday, June 13, 2012
  24. 24. Best practicesWednesday, June 13, 2012
  25. 25. Become an expertWednesday, June 13, 2012
  26. 26. Its better to train your employees and risk they leave, than not training them and risking they stay.Wednesday, June 13, 2012
  27. 27. #2 EXCHANGEWednesday, June 13, 2012
  28. 28. Testing Reviews Bug reports Patches ...Wednesday, June 13, 2012
  29. 29. Testing Testing Reviews ReviewsBug reports Bug reports Patches Patches ... ...
  30. 30. “Mathematics is like sex: sure, it may give some practical results, but thats not why we do it.” ― Richard P. FeynmanWednesday, June 13, 2012
  31. 31. Open Source “Mathematics is like sex: sure, it may give some practical results, but thats not why we do it.” ― Richard P. FeynmanWednesday, June 13, 2012
  32. 32. #3 NETWORKWednesday, June 13, 2012
  33. 33. Wednesday, June 13, 2012
  34. 34. Jobs Projects Resources Expertise ...Wednesday, June 13, 2012
  35. 35. OpportunitiesWednesday, June 13, 2012
  36. 36. LEARNWednesday, June 13, 2012
  37. 37. LEARN EXCHANGEWednesday, June 13, 2012
  38. 38. LEARN EXCHANGEWednesday, June 13, 2012
  39. 39. Wednesday, June 13, 2012
  40. 40. http://groups.drupal.org/russiaWednesday, June 13, 2012
  41. 41. Wednesday, June 13, 2012
  42. 42. Come for the software, stay for the community.Wednesday, June 13, 2012
  43. 43. Имеют большой конференцииWednesday, June 13, 2012
  44. 44. Спасибо за внимание Florian Lorétan Co-Founder Wunderkraut florian.loretan@wunderkraut.comWednesday, June 13, 2012
  45. 45. Sponsors Генеральный спонсор Организатор Серебряный спонсор Серебряный спонсор Бронзовый спонсор Бронзовый спонсор
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×